fix aside overlap with main content

This commit is contained in:
2026-07-17 13:57:31 +08:00
parent 71cc520d22
commit fe59040958
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -144,8 +144,9 @@ textarea {
}
.launcher-shell {
--launcher-sidebar-width: 64px;
display: grid;
grid-template-columns: 80px minmax(0, 1fr);
grid-template-columns: var(--launcher-sidebar-width) minmax(0, 1fr);
min-height: 100vh;
background: #fff;
color: #171717;
@@ -1478,10 +1479,6 @@ textarea {
}
@media (max-width: 760px) {
.launcher-shell {
grid-template-columns: 48px minmax(0, 1fr);
}
.launcher-main {
grid-template-rows: auto auto auto;
overflow: visible;
@@ -258,7 +258,7 @@ export function Sidebar({
}
return (
<aside className="w-16 sticky top-0 z-40 flex h-screen flex-col items-center gap-4 overflow-visible border-r border-(--platform-surface-border) bg-(--platform-nav-fill) px-0 pb-4.5 pt-4">
<aside className="sticky top-0 z-40 flex h-screen w-full flex-col items-center gap-4 overflow-visible border-r border-(--platform-surface-border) bg-(--platform-nav-fill) px-0 pb-4.5 pt-4">
<div className="grid place-items-center" aria-label="陶泥儿">
<span className="grid size-12 place-items-center rounded-full bg-(--platform-button-primary-fill) text-[10px] font-bold tracking-normal text-(--platform-button-primary-text) shadow-(--platform-profile-action-shadow)">
<img src={BRAND_ICON} alt="brand logo" />