Mobile hamburger style tweaks

This commit is contained in:
Zef Hemel
2026-03-26 17:54:02 +01:00
parent 7d4f4312d1
commit cabe886813
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ export class MainUI {
.includes("hamburger")
? [
{
icon: featherIcons.MoreVertical,
icon: featherIcons.Menu,
description: "Open Menu",
class: "expander",
callback: () => {
+7 -5
View File
@@ -133,9 +133,8 @@
}
#sb-top .sb-actions.hamburger {
border-radius: 5px;
border: 1px solid #444;
width: 2.8rem;
margin-top: 2px;
background: color-mix(
in srgb,
var(--top-background-color) 90%,
@@ -146,7 +145,9 @@
flex-direction: column;
align-items: center;
z-index: 10;
transition: max-height 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
transition:
max-height 0.3s ease-in-out,
box-shadow 0.3s ease-in-out;
/* Initial collapsed height */
max-height: 2.2rem;
@@ -168,7 +169,9 @@
margin: 8px 0;
opacity: 0;
transform: translateY(-10px);
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
transition:
opacity 0.3s ease-in-out,
transform 0.3s ease-in-out;
}
}
@@ -176,7 +179,6 @@
&.open:hover {
/* Expanded height limited to the viewport height minus some padding */
max-height: calc(100vh - 24px);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
button {
opacity: 1;