min-height & min-width for contenteditable to show placeholder/editable area also on empty content.
This commit is contained in:
parent
aebb5ad4b4
commit
043e14e82e
1 changed files with 7 additions and 2 deletions
|
@ -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 {
|
||||||
|
@ -3186,6 +3190,7 @@ footer {
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
padding: 7px 0;
|
padding: 7px 0;
|
||||||
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
|
|
Loading…
Reference in a new issue