Fix mobile menu overlapping the homepage banner.

Raise drawer z-index above the slider and stretch banner images full width.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 12:58:23 +05:00
parent ddd898078c
commit cde790c690
4 changed files with 137 additions and 3580 deletions

25
frontend/assets/css/app.css Executable file → Normal file
View File

@@ -3,6 +3,11 @@
@tailwind utilities;
/* Basic styles */
/* Keep mobile drawer above homepage slider / page content */
.drawer-side {
z-index: 50;
}
.title-logo {
color: #ffd700;
text-shadow: 1px 1px #b87500;
@@ -168,19 +173,15 @@ blockquote {
}
/* END Basic styles */
/* CAROUSEL / custom homepage slider (matches tbbank.gov.tm) */
.images {
overflow: hidden;
width: 100%;
}
.custom-slider,
/* Main homepage slider */
.images {
overflow: hidden;
width: 100%;
}
.custom-slider {
overflow: hidden;
width: 100%;
position: relative;
touch-action: pan-y;
cursor: grab;
@@ -211,29 +212,27 @@ blockquote {
width: 100%;
min-width: 100%;
max-height: 640px;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
-webkit-user-drag: none;
}
.custom-slider .slider-slide img {
display: block;
width: 100%;
max-width: 100%;
max-height: 640px;
height: auto;
-o-object-fit: contain;
object-fit: contain;
margin: 0 auto;
pointer-events: none;
-webkit-user-drag: none;
}
.custom-slider .slider-slide a,
.custom-slider .slider-slide img {
.custom-slider .slider-slide a {
display: block;
-webkit-user-drag: none;
}
/* END CAROUSEL */
/* END main homepage slider */
/* Slider */
.mySlides {