feat(app): minor fixes (#34748)

This commit is contained in:
Aarav Sareen
2026-07-01 18:40:53 +05:30
committed by GitHub
parent 87aa62d1e2
commit 6697cf3fd8
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -671,7 +671,7 @@ function HomeProjectColumn(props: {
class="mt-6 flex min-h-0 min-w-0 flex-col gap-4 overflow-hidden lg:mt-14 lg:pt-[52px]" class="mt-6 flex min-h-0 min-w-0 flex-col gap-4 overflow-hidden lg:mt-14 lg:pt-[52px]"
aria-label={props.language.t("home.projects")} aria-label={props.language.t("home.projects")}
> >
<div class="flex h-7 min-w-0 shrink-0 items-center justify-between pl-1.5"> <div class="flex h-7 min-w-0 shrink-0 items-center justify-between pl-1.5 pr-3">
<div class={HOME_SECTION_LABEL}>{props.language.t("home.projects")}</div> <div class={HOME_SECTION_LABEL}>{props.language.t("home.projects")}</div>
<Show when={global.servers.list().length === 1}> <Show when={global.servers.list().length === 1}>
<TooltipV2 placement="bottom" value={props.language.t("home.project.add")}> <TooltipV2 placement="bottom" value={props.language.t("home.project.add")}>
@@ -697,7 +697,7 @@ function HomeProjectColumn(props: {
</div> </div>
} }
> >
<div class="flex min-w-0 flex-col gap-1 pr-3"> <div class="flex min-w-0 flex-col gap-4 pr-3">
<For each={global.servers.list()}> <For each={global.servers.list()}>
{(item) => { {(item) => {
const key = ServerConnection.key(item) const key = ServerConnection.key(item)
@@ -1375,14 +1375,14 @@ export function MessageTimeline(props: {
<button <button
type="button" type="button"
data-slot="session-title-parent" data-slot="session-title-parent"
class="min-w-0 max-w-[40%] truncate text-14-medium text-text-weak transition-colors hover:text-text-base" class="min-w-0 max-w-[40%] truncate px-2 text-[13px] font-[530] leading-4 tracking-[-0.04px] text-v2-text-text-faint transition-colors hover:text-v2-text-text-muted"
onClick={navigateParent} onClick={navigateParent}
> >
{parentTitle()} {parentTitle()}
</button> </button>
<span <span
data-slot="session-title-separator" data-slot="session-title-separator"
class="px-2 text-14-medium text-text-weak" class="-translate-y-[0.5px] px-1 text-[11px] font-medium text-v2-text-text-faint"
aria-hidden="true" aria-hidden="true"
> >
/ /
@@ -1395,7 +1395,7 @@ export function MessageTimeline(props: {
<h1 <h1
data-slot="session-title-child" data-slot="session-title-child"
classList={{ classList={{
"text-14-medium text-text-strong truncate": true, "truncate text-[13px] font-[530] leading-4 tracking-[-0.04px] text-v2-text-text-base": true,
"w-fit rounded-[6px] px-2 py-1 hover:bg-v2-overlay-simple-overlay-hover": "w-fit rounded-[6px] px-2 py-1 hover:bg-v2-overlay-simple-overlay-hover":
settings.general.newLayoutDesigns(), settings.general.newLayoutDesigns(),
"grow-1 min-w-0": !settings.general.newLayoutDesigns(), "grow-1 min-w-0": !settings.general.newLayoutDesigns(),
@@ -1414,7 +1414,7 @@ export function MessageTimeline(props: {
value={title.draft} value={title.draft}
disabled={titleMutation.isPending} disabled={titleMutation.isPending}
classList={{ classList={{
"text-14-medium text-text-strong block": true, "block text-[13px] font-[530] leading-4 tracking-[-0.04px] text-v2-text-text-base": true,
"w-full flex-1 grow-1 min-w-0 pl-1 -ml-1 rounded-[6px]": !settings.general.newLayoutDesigns(), "w-full flex-1 grow-1 min-w-0 pl-1 -ml-1 rounded-[6px]": !settings.general.newLayoutDesigns(),
"field-sizing-content self-start rounded-[6px] px-2 py-1 ": "field-sizing-content self-start rounded-[6px] px-2 py-1 ":
settings.general.newLayoutDesigns(), settings.general.newLayoutDesigns(),