Update contrast on the burger button. fix error thrown by update_select

This commit is contained in:
jude 2023-07-23 16:15:24 +01:00
parent 5ac9733f15
commit 5671fd462b
3 changed files with 14 additions and 0 deletions

View File

@ -234,6 +234,13 @@ div#pageNavbar a {
text-align: center;
}
.navbar-burger, .navbar-burger:active, .navbar-burger.is-active {
background-color: #adc99c !important;
border-radius: 14px;
padding: 6px;
background-clip: content-box;
}
div#pageNavbar a:hover {
background-color: #4a4a4a;
}

View File

@ -62,6 +62,10 @@ function update_select(sel) {
channelDisplay.textContent = `#${sel.selectedOptions[0].textContent}`;
}
if (sel.selectedOptions[0] === null) {
return;
}
if (sel.selectedOptions[0].dataset["webhookAvatar"]) {
sel.closest("div.reminderContent").querySelector("img.discord-avatar").src =
sel.selectedOptions[0].dataset["webhookAvatar"];

View File

@ -307,6 +307,9 @@
<a class="show-modal" data-modal="chooseTimezoneModal">
<span class="icon"><i class="fas fa-map-marked"></i></span> Timezone
</a>
<a href="/login/discord/logout">
<span class="icon"><i class="fas fa-sign-out"></i></span> Log out
</a>
</li>
</ul>
</div>