fix: unintended left padding on sidebar

This commit is contained in:
Moinul Moin 2024-03-26 11:49:52 +00:00
parent b7b2ecad59
commit 647376ab3f

View File

@ -1,4 +1,4 @@
<nav class="flex flex-col flex-1 pl-2 bg-white border-r dark:border-coolgray-200 dark:bg-base" x-data="{ <nav class="flex flex-col flex-1 bg-white border-r dark:border-coolgray-200 dark:bg-base" x-data="{
init() { init() {
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => { window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
const userSettings = localStorage.getItem('theme'); const userSettings = localStorage.getItem('theme');