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;
outline-style: none;
border-radius: 3px;
/* needed to make empty tags editable, otherwise no focus can be set */
min-height: 10px;
min-width: 20px;
}
[contenteditable]:hover,
[contenteditable]:focus {
@ -3186,6 +3190,7 @@ footer {
.btn {
padding: 7px 0;
font-size: 10px;
}
&:before {