mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-09-27 18:46:23 +09:00
Keep the message body list styles out of the mention menu
The composer editor carries the lexxy-content class, so the !important list rules for message bodies hit the menu's ul and li too, leaving the items cramped and pushed in from the left.
This commit is contained in:
@@ -196,13 +196,14 @@ action-text-attachment[content-type~="application/vnd.actiontext.opengraph-embed
|
||||
color: var(--color-link);
|
||||
}
|
||||
|
||||
ul,
|
||||
/* The composer's mention menu is a list inside the editor too, and keeps Lexxy's own spacing */
|
||||
ul:not(.lexxy-prompt-menu),
|
||||
ol {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
li {
|
||||
li:not(.lexxy-prompt-menu__item) {
|
||||
margin: 0 0 0 var(--inline-space-double) !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user