This commit is contained in:
Eduard Prigoana 2024-12-30 20:34:13 +02:00
parent b62b809f7a
commit beac29a7d4
2 changed files with 16 additions and 2 deletions

View file

@ -68,9 +68,11 @@
.navbar {
display: flex;
flex-wrap: nowrap;
list-style: none;
padding: 10px;
margin: 0;
justify-content: flex-start;
}
.navbar li {
@ -151,6 +153,18 @@
#gear-icon {
display: none;
}
/* Responsive Navbar for small screens */
@media (max-width: 600px) {
.navbar {
flex-wrap: wrap; /* Enable wrapping */
justify-content: center; /* Center items */
}
.navbar li {
margin-bottom: 10px; /* Add spacing between items when wrapped */
}
}
</style>
</head>
<body>
@ -243,7 +257,7 @@
}
fetchLastPlayedSong();
setInterval(fetchLastPlayedSong, 3000);
setInterval(fetchLastPlayedSong, 100);
function openSettingsModal() {
document.getElementById('settings-modal').style.display = 'block';