min-height & min-width for contenteditable to show placeholder/editable area also on empty content.

This commit is contained in:
Martin Edenhofer 2015-01-20 07:45:17 +01:00
parent aebb5ad4b4
commit 043e14e82e

View file

@ -140,6 +140,10 @@ blockquote {
display: block; display: block;
outline-style: none; outline-style: none;
border-radius: 3px; border-radius: 3px;
/* needed to make empty tags editable, otherwise no focus can be set */
min-height: 10px;
min-width: 20px;
} }
[contenteditable]:hover, [contenteditable]:hover,
[contenteditable]:focus { [contenteditable]:focus {
@ -3176,16 +3180,17 @@ footer {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
.textBubble-overflowContainer { .textBubble-overflowContainer {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
background: white; background: white;
.btn { .btn {
padding: 7px 0; padding: 7px 0;
font-size: 10px;
} }
&:before { &:before {