mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-07 05:53:00 +01:00
Update menu bar width for improved layout consistency
This commit is contained in:
@@ -9,7 +9,7 @@ body {
|
|||||||
|
|
||||||
/* Top bar menu */
|
/* Top bar menu */
|
||||||
.menu-bar {
|
.menu-bar {
|
||||||
width: 75%;
|
width: 75%; /* Use 75% of the screen width on the first page */
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -25,6 +25,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu-bar.top {
|
.menu-bar.top {
|
||||||
|
width: 100%; /* Use 100% of the screen width when at the top */
|
||||||
position: fixed; /* Fix the top bar to the top */
|
position: fixed; /* Fix the top bar to the top */
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user