mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Make RichTextInput position: relative
This commit is contained in:
parent
bf9f6650cb
commit
3aba3772aa
2 changed files with 8 additions and 1 deletions
|
@ -8,12 +8,15 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<style>
|
||||
.field-description {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
opacity: 0.4;
|
||||
cursor: text;
|
||||
/* same as in ContentEditable */
|
||||
padding: 6px;
|
||||
/* stay a on single line */
|
||||
position: absolute;
|
||||
max-width: 95%;
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
|
|
|
@ -208,6 +208,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
</div>
|
||||
|
||||
<style lang="scss">
|
||||
.rich-text-input {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue