Skip to content

Commit 0bfd6a6

Browse files
committed
🐛 fixed mobile menu background
1 parent f018f06 commit 0bfd6a6

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

css/responsive.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,18 @@
88
font-size: 1.5rem;
99
}
1010

11+
#mobileMenuPanel {
12+
background-color: #000000 !important;
13+
}
14+
1115
#mobileMenuPanel.active {
1216
transform: translate(0);
1317
}
1418

19+
#mobileMenuPanel button {
20+
background-color: transparent !important;
21+
}
22+
1523
#mobileSearchPanel.active {
1624
display: block;
1725
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h4 class="font-bold text-sm text-gray-200">Notifications</h4>
9999
</div>
100100

101101
<div id="mobileMenuPanel"
102-
class="fixed inset-0 top-20 bg-[#050505] z-40 transform translate-x-[-100%] transition-transform duration-300 md:hidden flex flex-col p-8 gap-6 border-t border-white/10">
102+
class="fixed left-0 right-0 top-20 bg-black z-40 transform translate-x-[-100%] transition-transform duration-300 md:hidden flex flex-col p-8 gap-6 border-b border-white/10 rounded-b-2xl shadow-2xl">
103103
<button onclick="router('home')"
104104
class="text-2xl font-bold text-gray-300 hover:text-white hover:pl-4 transition-all">Accueil</button>
105105
<button onclick="router('films')"

0 commit comments

Comments
 (0)