Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): align sidebar logo with macOS traffic light buttons #586

Mergedbinbandit(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/586/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 1 changed file with 3 additions and 3 deletions.

x
0 of 1 viewed, 1 left
3 additions and 3 deletionsapps/web/src/components/Sidebar.tsxModified
View file
@@ -978,7 +978,7 @@
const wordmark = (
<div className="flex items-center gap-2">
<SidebarTrigger className="shrink-0 md:hidden" />
- <div className="flex min-w-0 flex-1 items-center gap-1 mt-2 ml-1">
+ <div className="flex min-w-0 flex-1 items-center gap-1 mt-1.5 ml-1">
<T3Wordmark />
<span className="truncate text-sm font-medium tracking-tight text-muted-foreground">
Code
@@ -994,7 +994,7 @@
{isElectron ? (
- <SidebarHeader className="drag-region h-[52px] flex-row items-center gap-2 px-4 py-0 pl-[82px]">
+ <SidebarHeader className="drag-region h-[52px] flex-row items-center gap-2 px-4 py-0 pl-[90px]">
{wordmark}
{showDesktopUpdateButton && (
<Tooltip>
@@ -1005,7 +1005,7 @@
aria-label={desktopUpdateTooltip}
aria-disabled={desktopUpdateButtonDisabled || undefined}
disabled={desktopUpdateButtonDisabled}
- className={`inline-flex size-7 ml-auto mt-2 items-center justify-center rounded-md text-muted-foreground transition-colors ${desktopUpdateButtonInteractivityClasses} ${desktopUpdateButtonClasses}`}
+ className={`inline-flex size-7 ml-auto mt-1.5 items-center justify-center rounded-md text-muted-foreground transition-colors ${desktopUpdateButtonInteractivityClasses} ${desktopUpdateButtonClasses}`}
onClick={handleDesktopUpdateButtonClick}
<RocketIcon className="size-3.5" />