mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
UX: rich editor footnotes position (#32566)
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ProseMirror {
|
||||
@ -197,7 +198,6 @@
|
||||
|
||||
// stylelint-disable-next-line no-duplicate-selectors
|
||||
.ProseMirror {
|
||||
position: relative;
|
||||
word-wrap: break-word;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
@ -259,7 +259,7 @@ li.ProseMirror-selectednode::after {
|
||||
.ProseMirror-gapcursor {
|
||||
display: none;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.ProseMirror-gapcursor::after {
|
||||
|
@ -141,6 +141,7 @@
|
||||
padding-top: 0.5rem;
|
||||
background-color: var(--primary-50);
|
||||
border-radius: var(--d-border-radius);
|
||||
z-index: z("modal", "tooltip");
|
||||
|
||||
&:focus-within {
|
||||
outline: 1px solid var(--primary-low);
|
||||
|
Reference in New Issue
Block a user