From: Aleksander Ɓukasz Date: Wed, 22 Jan 2014 10:58:10 +0000 (+0100) Subject: editor: fixing FF behavior in metadata editor X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/dea9da8dbffc4ca9c29628658166b252b8233aac?hp=8a17c686a21178f73ea93a9d7f2c6ee3bf90aa72 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. --- 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 {