adminforth 2.4.0-next.200 → 2.4.0-next.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,7 +83,7 @@
83
83
 
84
84
  <div class="transition-all duration-300 ease-in-out max-w-[100vw]"
85
85
  :class="{
86
- 'sm:ml-20': isSidebarIconOnly,
86
+ 'sm:ml-18': isSidebarIconOnly,
87
87
  'sm:ml-[264px]': !isSidebarIconOnly,
88
88
  'sm:max-w-[calc(100%-4.5rem)]': isSidebarIconOnly,
89
89
  'sm:max-w-[calc(100%-16rem)]': !isSidebarIconOnly
@@ -13,7 +13,7 @@
13
13
  }"
14
14
  aria-label="Sidebar"
15
15
  >
16
- <div class="h-full px-3 pb-4 bg-lightSidebar dark:bg-darkSidebar border-r border-lightSidebarBorder dark:border-darkSidebarBorder sidebar-scroll">
16
+ <div class="h-full px-3 pb-4 bg-lightSidebar dark:bg-darkSidebar border-r border-lightSidebarBorder dark:border-darkSidebarBorder" :class="{'sidebar-scroll':!isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering)}">
17
17
  <div class="af-logo-title-wrapper flex ms-2 relative transition-all duration-300 ease-in-out h-8 items-center" :class="{'my-4 ': isSidebarIconOnly && !isSidebarHovering, 'm-4': !isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering)}">
18
18
  <img v-if="coreStore.config?.showBrandLogoInSidebar !== false && (!iconOnlySidebarEnabled || !isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering))" :src="loadFile(coreStore.config?.brandLogo || '@/assets/logo.svg')" :alt="`${ coreStore.config?.brandName } Logo`" class="af-logo h-8 me-3" />
19
19
  <img v-if="coreStore.config?.showBrandLogoInSidebar !== false && coreStore.config?.iconOnlySidebar?.logo && iconOnlySidebarEnabled && isSidebarIconOnly && !isSidebarHovering" :src="loadFile(coreStore.config?.iconOnlySidebar?.logo || '')" :alt="`${ coreStore.config?.brandName } Logo`" class="af-sidebar-icon-only-logo h-8 me-3" />
@@ -188,14 +188,14 @@
188
188
  <style lang="scss" scoped>
189
189
  /* Sidebar width animations */
190
190
  .sidebar-container {
191
- width: 16rem; /* Default expanded width (w-64) */
191
+ width: 16.5rem; /* Default expanded width (w-64) */
192
192
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
193
193
  overflow: hidden; /* Prevent content from showing during animation */
194
194
  will-change: width, transform;
195
195
  }
196
196
 
197
197
  .sidebar-collapsed {
198
- width: 5rem; /* Collapsed width (w-18) */
198
+ width: 4.5rem; /* Collapsed width (w-18) */
199
199
  }
200
200
 
201
201
  .sidebar-expanded {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.200",
3
+ "version": "2.4.0-next.202",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",