From dea9da8dbffc4ca9c29628658166b252b8233aac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 22 Jan 2014 11:58:10 +0100 Subject: [PATCH 1/1] editor: fixing FF behavior in metadata editor In Chrome contenteditable=true seems to imply word-wrap: break-word and forcing element to fill its parent vertically. In FF we need to enforce this explicitly. This change fixes: - metadata editor layout for long metadata, - not being able to start editing a blank field. --- src/editor/modules/metadataEditor/metadataEditor.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/editor/modules/metadataEditor/metadataEditor.less b/src/editor/modules/metadataEditor/metadataEditor.less index a16d0f9..f17b91e 100644 --- a/src/editor/modules/metadataEditor/metadataEditor.less +++ b/src/editor/modules/metadataEditor/metadataEditor.less @@ -6,6 +6,8 @@ [contenteditable] { cursor: pointer; + word-wrap: break-word; + min-height: 13px; } li:last-child { -- 2.20.1