Skip to content

Commit 23c45ff

Browse files
committed
feat: Add initial main.css for core UI styling and theme definitions.
1 parent a2478b7 commit 23c45ff

1 file changed

Lines changed: 31 additions & 3 deletions

File tree

src/static/css/main.css

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,11 +854,20 @@ body[data-theme="light"] .thread-item.context-highlight {
854854

855855
.msg-header {
856856
display: flex;
857-
align-items: baseline;
857+
align-items: center;
858858
gap: 8px;
859859
font-size: 11px;
860+
width: 100%;
860861
}
861862

863+
.msg-row-left .msg-header .msg-copy-btn,
864+
.msg-row-left .msg-header .msg-edit-btn {
865+
margin-left: 2px;
866+
}
867+
868+
.msg-row-left .msg-header .msg-copy-btn {
869+
margin-left: auto;
870+
}
862871
/* ── Per-message copy button ───────────────────────────────────────────────── */
863872
.msg-copy-btn {
864873
display: inline-flex;
@@ -873,7 +882,6 @@ body[data-theme="light"] .thread-item.context-highlight {
873882
color: var(--text-2);
874883
cursor: pointer;
875884
flex-shrink: 0;
876-
margin-left: auto;
877885
opacity: 0;
878886
transition: opacity .15s, background .15s, border-color .15s, color .15s;
879887
}
@@ -896,7 +904,26 @@ body[data-theme="light"] .thread-item.context-highlight {
896904
}
897905

898906
.msg-row-right .msg-header {
899-
flex-direction: row-reverse;
907+
justify-content: flex-end;
908+
}
909+
910+
.msg-row-right .msg-header .msg-copy-btn {
911+
order: -1;
912+
margin-right: 4px;
913+
}
914+
915+
.msg-row-right .msg-header .msg-edit-btn {
916+
order: -2;
917+
margin-right: 4px;
918+
}
919+
920+
.msg-row-right .msg-header .msg-author-label,
921+
.msg-row-right .msg-header .msg-time-label {
922+
margin-left: 8px;
923+
}
924+
925+
.msg-row-right .msg-header .msg-copy-btn {
926+
margin-right: auto;
900927
}
901928

902929
.msg-author-label {
@@ -1081,6 +1108,7 @@ body[data-theme="light"] .stop-tag {
10811108
border: 1px solid var(--border-light);
10821109
border-left-width: 3px;
10831110
max-width: 100%;
1111+
min-width: 240px;
10841112
}
10851113

10861114
.msg-row-right .bubble-v2 {

0 commit comments

Comments
 (0)