diff --git a/apps/web/src/shell/titlebar.tsx b/apps/web/src/shell/titlebar.tsx index d91523bf..033e0b42 100644 --- a/apps/web/src/shell/titlebar.tsx +++ b/apps/web/src/shell/titlebar.tsx @@ -36,8 +36,8 @@ export function NavigationControls() {
void add()} - className={chromeButton} + className={`${chromeButton} ml-1`} > diff --git a/apps/web/src/style.css b/apps/web/src/style.css index 33465387..ba222661 100644 --- a/apps/web/src/style.css +++ b/apps/web/src/style.css @@ -269,6 +269,10 @@ .app-shell :is([data-slot="sidebar-gap"], [data-slot="sidebar-navigation"]) { transition: width 200ms var(--ease-drawer); } +/* Closed, the title bar's controls are as wide as their content; this lets that width animate too. */ +.app-shell [data-slot="sidebar-navigation"] { + interpolate-size: allow-keywords; +} .app-shell[data-resizing] :is([data-slot="sidebar-gap"], [data-slot="sidebar-navigation"]) { transition: none; }