mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 23:08:08 +08:00
Partially found a solution for issue #12
But we shouldn't solve it the DIV way.
This commit is contained in:
parent
a8ddeecb49
commit
48971df2ad
1 changed files with 6 additions and 2 deletions
|
@ -56,15 +56,19 @@
|
|||
overflow: auto;
|
||||
}
|
||||
|
||||
/* This does make the block element focusable with mouse in Gecko and Webkit so we don't need a <BR>.
|
||||
However, arrow up/down still not working.
|
||||
Secondly, we can't rely on MUA's what to do with :empty
|
||||
.squire-wysiwyg div:empty,
|
||||
.squire-wysiwyg div:-moz-only-whitespace {
|
||||
min-height: 1em;
|
||||
min-height: 16px;
|
||||
}
|
||||
/*
|
||||
/* This "placeholder" doesn't work good in Gecko
|
||||
.squire-wysiwyg div:empty::before,
|
||||
.squire-wysiwyg div:-moz-only-whitespace::before {
|
||||
content: "Start writing here…";
|
||||
opacity: 0.5;
|
||||
user-select: text;
|
||||
-moz-user-select: text;
|
||||
}
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue