Make logo look better on windows

This commit is contained in:
2026-02-14 18:14:23 -07:00
parent 217222a22b
commit 15dd9ad013
2 changed files with 4 additions and 13 deletions

View File

@@ -13,10 +13,6 @@
@apply bg-(--col3) border-(--col4); @apply bg-(--col3) border-(--col4);
} }
.logo {
@apply flex items-center pl-2 h-10 w-60 pt-2;
}
.nav-links { .nav-links {
@apply flex flex-col px-4 space-y-1; @apply flex flex-col px-4 space-y-1;
} }

View File

@@ -59,15 +59,10 @@ export default function Sidebar () {
}} }}
></div> ></div>
<div <div
className='logo' className={`flex items-center h-10 w-60 ${
style={{ (platform() == 'windows' ? 'pl-1 pt-1' : 'pl-2 pt-2') +
marginTop: (platform() == 'macos' ? ' mt-7' : '')
platform() == 'windows' }`}
? '32px'
: platform() == 'macos'
? '28px'
: ''
}}
onMouseDown={e => { onMouseDown={e => {
if (platform() != 'macos') return if (platform() != 'macos') return
if (e.buttons === 1) { if (e.buttons === 1) {