Fix sidebar bottom icons cut off when smart plugs enabled (#862)

This commit is contained in:
maziggy
2026-04-01 09:17:03 +02:00
parent 5a696f9fa3
commit f228a8b549
6 changed files with 8 additions and 7 deletions
+3 -3
View File
@@ -680,11 +680,11 @@ export function Layout() {
)}
{/* Footer */}
<div className="p-2 border-t border-bambu-dark-tertiary">
<div className="flex-shrink-0 p-2 border-t border-bambu-dark-tertiary">
{isSidebarCompact || sidebarExpanded ? (
<div className="flex flex-col gap-2 px-2">
{/* Top row: icons */}
<div className="flex items-center justify-center gap-1">
<div className="flex items-center justify-center gap-1 flex-wrap">
{hasSwitchbarPlugs && (
<div className="relative">
<button
@@ -779,7 +779,7 @@ export function Layout() {
</div>
</div>
) : (
<div className="flex flex-col items-center gap-1">
<div className="flex flex-col items-center gap-1 overflow-y-auto max-h-[50vh]">
{updateCheck?.update_available && (
<button
onClick={() => navigate('/settings')}