feat(app): update home screen alignment + markdown styles (#34172)

This commit is contained in:
Aarav Sareen 2026-06-27 10:30:52 +05:30 committed by GitHub
commit a2d08fb63b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 3 deletions

View file

@ -1133,7 +1133,7 @@ function HomeSessionSearchResultRow(props: {
function HomeSessionGroupHeader(props: { title: string; onNewSession?: () => void }) { function HomeSessionGroupHeader(props: { title: string; onNewSession?: () => void }) {
const language = useLanguage() const language = useLanguage()
return ( return (
<div class="flex h-7 min-w-0 items-center justify-between pl-[18px]"> <div class="flex h-7 min-w-0 items-center justify-between pl-3">
<div class={HOME_SECTION_LABEL}>{props.title}</div> <div class={HOME_SECTION_LABEL}>{props.title}</div>
<Show when={props.onNewSession}> <Show when={props.onNewSession}>
{(onNewSession) => ( {(onNewSession) => (

View file

@ -49,12 +49,20 @@
line-height: var(--line-height-large); line-height: var(--line-height-large);
} }
h3, h3 {
font-size: 13px;
color: var(--v2-text-text-base);
font-weight: var(--font-weight-medium);
margin-top: 0px;
margin-bottom: 24px;
line-height: var(--line-height-large);
}
h4, h4,
h5, h5,
h6 { h6 {
font-size: 13px; font-size: 13px;
color: var(--v2-text-text-base); color: var(--v2-text-text-muted);
font-weight: var(--font-weight-medium); font-weight: var(--font-weight-medium);
margin-top: 0px; margin-top: 0px;
margin-bottom: 24px; margin-bottom: 24px;