mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-26 23:10:18 +08:00
fix(projects): 修复vertical sider自适应主题
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="mb-6px px-4px cursor-pointer" @mouseenter="setTrue" @mouseleave="setFalse">
|
||||
<div
|
||||
class="flex-center flex-col py-12px rounded-2px"
|
||||
:class="{ 'text-primary bg-primary bg-opacity-10': isActive, 'text-primary': isHover }"
|
||||
:class="{ 'g_text-primary g_bg-primary_active': isActive, 'g_text-primary': isHover }"
|
||||
>
|
||||
<component :is="icon" :class="[isMini ? 'text-16px' : 'text-20px']" />
|
||||
<p
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
duration-300
|
||||
ease-in-out
|
||||
bg-white
|
||||
dark:bg-[#18181c]
|
||||
dark:bg-dark
|
||||
"
|
||||
:style="{ width: showDrawer ? theme.menuStyle.width + 'px' : '0px' }"
|
||||
>
|
||||
<header class="header-height flex-y-center justify-between">
|
||||
<h2 class="pl-8px text-16px text-primary font-bold">{{ title }}</h2>
|
||||
<h2 class="pl-8px text-16px g_text-primary font-bold">{{ title }}</h2>
|
||||
<div class="px-8px text-16px text-gray-600 cursor-pointer" @click="toggleFixedMixMenu">
|
||||
<icon-mdi:pin-off v-if="app.menu.fixedMix" />
|
||||
<icon-mdi:pin v-else />
|
||||
|
||||
Reference in New Issue
Block a user