fix: keep home sidebar growing downward
This commit is contained in:
parent
b6e0a59d5b
commit
39324778f5
@ -1382,14 +1382,14 @@ export function LovartHome({
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<aside className="fixed left-6 top-1/2 z-30 hidden -translate-y-1/2 flex-col items-center gap-2 lg:flex">
|
||||
<aside className="fixed bottom-6 left-6 top-[92px] z-30 hidden flex-col items-center gap-2 lg:flex">
|
||||
<TooltipProvider delayDuration={120}>
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<button
|
||||
type="button"
|
||||
onClick={openNewCanvas}
|
||||
className="flex h-[52px] w-[52px] items-center justify-center rounded-full border border-black/10 bg-white shadow"
|
||||
className="flex h-[52px] w-[52px] shrink-0 items-center justify-center rounded-full border border-black/10 bg-white shadow"
|
||||
>
|
||||
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-black text-white">
|
||||
<Plus className="h-4 w-4" />
|
||||
@ -1398,8 +1398,7 @@ export function LovartHome({
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="right">新建项目</TooltipContent>
|
||||
</Tooltip>
|
||||
|
||||
<div className="flex w-[56px] flex-col items-center gap-1 rounded-[28px] border border-black/10 bg-white px-1.5 py-2.5 shadow">
|
||||
<div className="flex min-h-0 w-[56px] flex-1 flex-col items-center gap-1 overflow-y-auto rounded-[28px] border border-black/10 bg-white px-1.5 py-2.5 shadow">
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<button
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user