tweak(ui): wip session spacing
parent
a4e75a0794
commit
219ed4e2ef
|
|
@ -9,7 +9,7 @@
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
|
||||||
&.tool-collapsible {
|
&.tool-collapsible {
|
||||||
--tool-content-gap: 8px;
|
--tool-content-gap: 4px;
|
||||||
gap: var(--tool-content-gap);
|
gap: var(--tool-content-gap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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,11 +23,11 @@
|
||||||
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: 24px;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 24px;
|
||||||
line-height: var(--line-height-large);
|
line-height: var(--line-height-large);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -58,10 +58,10 @@
|
||||||
/* Lists */
|
/* Lists */
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin-top: 0.5rem;
|
margin-top: 8px;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 8px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 1.5rem;
|
padding-left: 32px;
|
||||||
list-style-position: outside;
|
list-style-position: outside;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -117,12 +117,12 @@
|
||||||
hr {
|
hr {
|
||||||
border: none;
|
border: none;
|
||||||
height: 0;
|
height: 0;
|
||||||
margin: 2.5rem 0;
|
margin: 40px 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,8 +201,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
margin-top: 2rem;
|
margin-top: 12px;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 32px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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: 16px;
|
||||||
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,
|
||||||
|
|
@ -639,10 +639,10 @@
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
padding-left: 13px;
|
padding-left: 12px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 4px;
|
||||||
|
|
||||||
[data-slot="context-tool-group-item"] {
|
[data-slot="context-tool-group-item"] {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
|
|
||||||
|
|
@ -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: 0px;
|
||||||
overflow-anchor: none;
|
overflow-anchor: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -220,5 +220,5 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-slot="session-turn-list"] {
|
[data-slot="session-turn-list"] {
|
||||||
gap: 48px;
|
gap: 32px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue