tweak(ui): timeline css changes

timeline-spacing-cleanup
David Hill 2026-03-27 14:54:31 +00:00
parent d2bfa92e74
commit 5612bfe37f
3 changed files with 19 additions and 19 deletions

View File

@ -6,7 +6,7 @@
color: var(--text-strong); color: var(--text-strong);
font-family: var(--font-family-sans); font-family: var(--font-family-sans);
font-size: var(--font-size-base); /* 14px */ font-size: var(--font-size-base); /* 14px */
line-height: var(--line-height-x-large); line-height: 160%;
/* Spacing for flow */ /* Spacing for flow */
> *:first-child { > *:first-child {
@ -23,7 +23,7 @@
h4, h4,
h5, h5,
h6 { h6 {
font-size: var(--font-size-base); font-size: 14px;
color: var(--text-strong); color: var(--text-strong);
font-weight: var(--font-weight-medium); font-weight: var(--font-weight-medium);
margin-top: 2rem; margin-top: 2rem;
@ -40,7 +40,7 @@
/* Paragraphs */ /* Paragraphs */
p { p {
margin-bottom: 1rem; margin-bottom: 12px;
} }
/* Links */ /* Links */
@ -58,10 +58,10 @@
/* Lists */ /* Lists */
ul, ul,
ol { ol {
margin-top: 0.5rem; margin-top: 8px;
margin-bottom: 1rem; margin-bottom: 24px;
margin-left: 0; margin-left: 0;
padding-left: 1.5rem; padding-left: 24px;
list-style-position: outside; list-style-position: outside;
} }
@ -75,7 +75,7 @@
} }
li { li {
margin-bottom: 0.5rem; margin-bottom: 8px;
} }
li > p:first-child { li > p:first-child {
@ -107,8 +107,8 @@
/* Blockquotes */ /* Blockquotes */
blockquote { blockquote {
border-left: 2px solid var(--border-weak-base); border-left: 2px solid var(--border-weak-base);
margin: 1.5rem 0; margin: 16px 0;
padding-left: 0.5rem; padding-left: 12px;
color: var(--text-weak); color: var(--text-weak);
font-style: normal; font-style: normal;
} }
@ -117,12 +117,12 @@
hr { hr {
border: none; border: none;
height: 0; height: 0;
margin: 2.5rem 0; margin: 32px 0;
} }
.shiki { .shiki {
font-size: 13px; font-size: 13px;
padding: 8px 12px; padding: 12px;
border-radius: 6px; border-radius: 6px;
border: 0.5px solid var(--border-weak-base); border: 0.5px solid var(--border-weak-base);
} }
@ -201,7 +201,7 @@
} }
pre { pre {
margin-top: 2rem; margin-top: 12px;
margin-bottom: 2rem; margin-bottom: 2rem;
overflow: auto; overflow: auto;
@ -229,7 +229,7 @@
table { table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
margin: 1.5rem 0; margin: 24px 0;
font-size: var(--font-size-base); font-size: var(--font-size-base);
display: block; display: block;
overflow-x: auto; overflow-x: auto;
@ -239,7 +239,7 @@
td { td {
/* Minimal borders for structure, matching TUI "lines" roughly but keeping it web-clean */ /* Minimal borders for structure, matching TUI "lines" roughly but keeping it web-clean */
border-bottom: 1px solid var(--border-weaker-base); border-bottom: 1px solid var(--border-weaker-base);
padding: 0.75rem 0.5rem; padding: 12px;
text-align: left; text-align: left;
vertical-align: top; vertical-align: top;
} }

View File

@ -132,7 +132,7 @@
overflow: hidden; overflow: hidden;
background: var(--surface-base); background: var(--surface-base);
border: 1px solid var(--border-weak-base); border: 1px solid var(--border-weak-base);
padding: 8px 12px; padding: 12px;
border-radius: 6px; border-radius: 6px;
[data-highlight="file"] { [data-highlight="file"] {
@ -283,9 +283,9 @@
line-height: var(--line-height-normal); line-height: var(--line-height-normal);
[data-component="markdown"] { [data-component="markdown"] {
margin-top: 24px; margin-top: 12px;
font-style: normal; font-style: normal;
font-size: var(--font-size-base); font-size: 13px;
color: var(--text-weak); color: var(--text-weak);
strong, strong,

View File

@ -26,7 +26,7 @@
align-items: flex-start; align-items: flex-start;
align-self: stretch; align-self: stretch;
min-width: 0; min-width: 0;
gap: 18px; gap: 16px;
overflow-anchor: none; overflow-anchor: none;
} }
@ -228,5 +228,5 @@
} }
[data-slot="session-turn-list"] { [data-slot="session-turn-list"] {
gap: 48px; gap: 32px;
} }