Skip to content

Commit 85e9280

Browse files
committed
feat: Increase dropdown width in NavBar and SidebarNav for better usability
1 parent 93272e2 commit 85e9280

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/components/NavBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z" />
8484
</svg>
8585
</div>
86-
<ul tabindex="0" class="dropdown-content z-[1] menu p-2 shadow-2xl bg-base-300 rounded-box w-52 max-h-96 overflow-y-auto">
86+
<ul tabindex="0" class="dropdown-content z-[1] menu p-2 shadow-2xl bg-base-300 rounded-box w-64 max-h-96 overflow-y-auto">
8787
<li class="menu-title">
8888
<span>Choose theme</span>
8989
</li>

frontend/src/components/SidebarNav.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</svg>
3535
<span class="flex-1 text-left">Theme</span>
3636
</div>
37-
<ul tabindex="0" class="dropdown-content z-[1] menu p-2 shadow-2xl bg-base-300 rounded-box w-52 max-h-96 overflow-y-auto mb-2">
37+
<ul tabindex="0" class="dropdown-content z-[1] menu p-2 shadow-2xl bg-base-300 rounded-box w-64 max-h-96 overflow-y-auto mb-2">
3838
<li class="menu-title">
3939
<span>Choose theme</span>
4040
</li>

0 commit comments

Comments
 (0)