We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bcc2c6 commit babc035Copy full SHA for babc035
1 file changed
apps/web/src/pages/products.page.vue
@@ -5,7 +5,7 @@
5
<aside
6
:class="[
7
'flex flex-col bg-white border-r border-gray-200 shrink-0 transition-all duration-300 ease-in-out',
8
- sidebarOpen ? 'w-60' : 'w-16'
+ sidebarOpen ? 'md:w-60 w-full' : 'w-16'
9
]"
10
class="sticky top-0 h-screen z-40 overflow-hidden"
11
>
@@ -38,7 +38,7 @@
38
<button v-for="item in navItems" :key="item.key"
39
40
'w-full flex items-center rounded-xl transition-all cursor-pointer group',
41
- sidebarOpen ? 'px-3 py-2.5 gap-3' : 'px-0 py-2.5 justify-center',
+ sidebarOpen ? 'px-3 py-2.5 gap-3' : 'px-3 py-2.5',
42
item.active
43
? 'bg-orange-50 text-orange-500'
44
: 'text-gray-500 hover:bg-gray-50 hover:text-gray-900'
0 commit comments