mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
fix wrong rich-text-widget offset (#2033)
.rich-text-input { padding: 6px; } messed up image & mathjax overlay positioning because parent padding isn't added to absolute positioning px
This commit is contained in:
parent
966d7f3760
commit
28eae0667a
2 changed files with 1 additions and 4 deletions
|
@ -40,9 +40,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
|
||||
/* same as in ContentEditable */
|
||||
padding: 6px;
|
||||
|
||||
/* stay a on single line */
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
|
|
|
@ -244,7 +244,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
<style lang="scss">
|
||||
.rich-text-input {
|
||||
position: relative;
|
||||
padding: 6px;
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
|
|
Loading…
Reference in a new issue