|
764 | 764 | /* ── Tiptap rich-text composer ──────────────────────────────────────── */ |
765 | 765 | .rich-text-composer .tiptap { |
766 | 766 | outline: none; |
767 | | - min-height: calc(var(--text-sm) * var(--leading-relaxed)); |
| 767 | + min-height: 1lh; |
768 | 768 | font-size: var(--text-sm); |
769 | | - line-height: var(--leading-relaxed); |
| 769 | + line-height: var(--text-sm--line-height); |
770 | 770 | } |
771 | 771 |
|
772 | 772 | .rich-text-composer .tiptap p { |
|
871 | 871 | --inline-code-font-size: var(--text-xs); |
872 | 872 | --agent-icon-size: 0.95em; |
873 | 873 | --agent-icon-gap: 0.125rem; |
874 | | - --agent-icon-top: 0.125rem; |
875 | 874 | } |
876 | 875 |
|
877 | 876 | .message-markdown .mention-chip, |
|
954 | 953 | .message-markdown .agent-mention-highlight::before { |
955 | 954 | content: ""; |
956 | 955 | position: absolute; |
957 | | - top: var(--agent-icon-top); |
| 956 | + top: 50%; |
958 | 957 | left: var(--inline-chip-padding-inline); |
959 | 958 | width: var(--agent-icon-size); |
960 | 959 | height: var(--agent-icon-size); |
961 | 960 | background: currentColor; |
962 | 961 | pointer-events: none; |
| 962 | + transform: translateY(-50%); |
963 | 963 | -webkit-mask: |
964 | 964 | url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8V4H8'/%3E%3Crect width='16' height='12' x='4' y='8' rx='2'/%3E%3Cpath d='M2 14h2'/%3E%3Cpath d='M20 14h2'/%3E%3Cpath d='M15 13v2'/%3E%3Cpath d='M9 13v2'/%3E%3C/svg%3E") |
965 | 965 | center / contain no-repeat; |
|
1140 | 1140 |
|
1141 | 1141 | body { |
1142 | 1142 | @apply bg-background text-foreground antialiased; |
1143 | | - font-family: "Geist", "Avenir Next", "Segoe UI", sans-serif; |
| 1143 | + font-family: "Inter Variable", Inter, "Avenir Next", "Segoe UI", sans-serif; |
1144 | 1144 | } |
1145 | 1145 |
|
1146 | 1146 | /* |
|
0 commit comments