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:
BlueGreenMagick 2022-08-31 17:35:01 +09:00 committed by GitHub
parent 966d7f3760
commit 28eae0667a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -40,9 +40,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
opacity: 0.4; opacity: 0.4;
pointer-events: none; pointer-events: none;
/* same as in ContentEditable */
padding: 6px;
/* stay a on single line */ /* stay a on single line */
overflow-x: hidden; overflow-x: hidden;
white-space: nowrap; white-space: nowrap;

View file

@ -244,7 +244,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<style lang="scss"> <style lang="scss">
.rich-text-input { .rich-text-input {
position: relative; position: relative;
padding: 6px; margin: 6px;
} }
.hidden { .hidden {