cheogram-www
created pr with
cheogram-www/fix-mention-menu.1
commented
Changes are available at https://tangled.org/mrry.band/cheogram-www fix-mention-menu
added cheogram-www/fix-mention-menu.2
1: 0d24bf1 < -: ------- Update dialogs to look better
2: 4b2d61e = 1: 44669e6 Fix mention menu display in dark mode
cmds
checkout latest patchset:
ssh pr.pico.sh pull cheogram-www:fix-mention-menu | git am -3checkout specific patchset revision:
ssh pr.pico.sh pull cheogram-www:fix-mention-menu [rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh cheogram-www:fix-mention-menuadd comment to patch request:
ssh pr.pico.sh comment cheogram-www:fix-mention-menu "lgtm!"
Patchset
cheogram-www/fix-mention-menu.2
Fix mention menu display in dark mode
Eric Roberts
2026-11-25T21:54:07ZExtend the composer/header/dialog bg styles to this. Had to do some weird stuff because the blur doesn't always work the way you would think. Before using pseudo elements there was just no blur, but this seems to work.
Semantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 0 analyzed files
(1 file skipped: unsupported file type)
+21
-2
src/App.scss
#
| ... | ... | @@ -587,14 +587,14 @@ li.MuiListSubheader-root { | |
| 587 | 587 | } | |
| 588 | 588 | ||
| 589 | 589 | > .cs-conversation-header, | |
| 590 | - | #message-input-root, | |
| 590 | + | #message-input-root::before, | |
| 591 | 591 | .chat-typing-overlay { | |
| 592 | 592 | @include chat-panel-surface; | |
| 593 | 593 | border-radius: 6px; | |
| 594 | 594 | } | |
| 595 | 595 | ||
| 596 | 596 | > .cs-conversation-header, | |
| 597 | - | #message-input-root { | |
| 597 | + | #message-input-root::before { | |
| 598 | 598 | box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); | |
| 599 | 599 | } | |
| 600 | 600 |
| ... | ... | @@ -608,6 +608,19 @@ li.MuiListSubheader-root { | |
| 608 | 608 | } | |
| 609 | 609 | ||
| 610 | 610 | #message-input-root { | |
| 611 | + | position: relative; | |
| 612 | + | z-index: 0; | |
| 613 | + | border: 1px solid transparent; | |
| 614 | + | ||
| 615 | + | // Keep the blur off the ancestor of the mention menu. | |
| 616 | + | &::before { | |
| 617 | + | content: ""; | |
| 618 | + | position: absolute; | |
| 619 | + | inset: -1px; | |
| 620 | + | z-index: -1; | |
| 621 | + | pointer-events: none; | |
| 622 | + | } | |
| 623 | + | ||
| 611 | 624 | .cs-message-input { | |
| 612 | 625 | border: 0; | |
| 613 | 626 | background: transparent; |
| ... | ... | @@ -1516,7 +1529,13 @@ div.cs-message__content { | |
| 1516 | 1529 | } | |
| 1517 | 1530 | ||
| 1518 | 1531 | .ql-mention-list-container { | |
| 1532 | + | @include chat-panel-surface; | |
| 1533 | + | border-radius: var(--border-radius); | |
| 1519 | 1534 | max-height: 20em; | |
| 1535 | + | ||
| 1536 | + | .ql-mention-list-item.selected { | |
| 1537 | + | background-color: var(--color-bg-focus); | |
| 1538 | + | } | |
| 1520 | 1539 | } | |
| 1521 | 1540 | ||
| 1522 | 1541 | .ql-editor.ql-blank::before { |