fix(app): sidebar spacing + session list spinner transition (#17355)

This commit is contained in:
David Hill
2026-03-13 09:19:02 -05:00
committed by GitHub
parent c9e9dbeee1
commit f5f07310e0
3 changed files with 108 additions and 49 deletions
+5 -5
View File
@@ -1961,7 +1961,7 @@ export default function Layout(props: ParentProps) {
return (
<div
classList={{
"flex flex-col min-h-0 min-w-0 box-border rounded-tl-[12px] px-2": true,
"flex flex-col min-h-0 min-w-0 box-border rounded-tl-[12px] px-3": true,
"border border-b-0 border-border-weak-base": !merged(),
"border-l border-t border-border-weaker-base": merged(),
"bg-background-base": merged() || hover(),
@@ -1976,8 +1976,8 @@ export default function Layout(props: ParentProps) {
<Show when={panelProps.project}>
{(p) => (
<>
<div class="shrink-0 px-2 py-1">
<div class="group/project flex items-start justify-between gap-2 p-2 pr-1">
<div class="shrink-0 pl-1 py-1">
<div class="group/project flex items-start justify-between gap-2 py-2 pl-2 pr-0">
<div class="flex flex-col min-w-0">
<InlineEditor
id={`project:${projectId()}`}
@@ -2063,7 +2063,7 @@ export default function Layout(props: ParentProps) {
when={workspacesEnabled()}
fallback={
<>
<div class="shrink-0 py-4 px-3">
<div class="shrink-0 py-4">
<Button
size="large"
icon="plus-small"
@@ -2086,7 +2086,7 @@ export default function Layout(props: ParentProps) {
}
>
<>
<div class="shrink-0 py-4 px-3">
<div class="shrink-0 py-4">
<Button size="large" icon="plus-small" class="w-full" onClick={() => createWorkspace(p())}>
{language.t("workspace.new")}
</Button>