changes of ui in dropwon select opptions and bottun colours add
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
function toggleSidebar() {
|
||||
const sidebar = document.getElementById("sidebar");
|
||||
sidebar.classList.toggle("show");
|
||||
sidebar.classList.toggle("hide");
|
||||
// Toggle ONLY on mobile
|
||||
if (window.innerWidth <= 768) {
|
||||
document.getElementById("sidebar").classList.toggle("show");
|
||||
}
|
||||
}
|
||||
|
||||
function toggleMenu(id) {
|
||||
const menu = document.getElementById(id);
|
||||
menu.style.display = menu.style.display === "block" ? "none" : "block";
|
||||
menu.style.display = (menu.style.display === "block") ? "none" : "block";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user