fix: moved toggle theme to different section
main area bg-surface-white
This commit is contained in:
parent
517adbd366
commit
e9afb11407
@ -3,7 +3,7 @@
|
|||||||
<div class="h-full border-r bg-surface-menu-bar">
|
<div class="h-full border-r bg-surface-menu-bar">
|
||||||
<AppSidebar />
|
<AppSidebar />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1 flex flex-col h-full overflow-auto">
|
<div class="flex-1 flex flex-col h-full overflow-auto bg-surface-white">
|
||||||
<AppHeader />
|
<AppHeader />
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -79,11 +79,6 @@ let dropdownOptions = ref([
|
|||||||
{
|
{
|
||||||
component: markRaw(Apps),
|
component: markRaw(Apps),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
icon: computed(() => (theme.value === 'dark' ? 'sun' : 'moon')),
|
|
||||||
label: computed(() => __('Toggle theme')),
|
|
||||||
onClick: toggleTheme,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
icon: 'life-buoy',
|
icon: 'life-buoy',
|
||||||
label: computed(() => __('Support')),
|
label: computed(() => __('Support')),
|
||||||
@ -100,6 +95,11 @@ let dropdownOptions = ref([
|
|||||||
group: 'Others',
|
group: 'Others',
|
||||||
hideLabel: true,
|
hideLabel: true,
|
||||||
items: [
|
items: [
|
||||||
|
{
|
||||||
|
icon: computed(() => (theme.value === 'dark' ? 'moon' : 'sun')),
|
||||||
|
label: computed(() => __('Toggle theme')),
|
||||||
|
onClick: toggleTheme,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: 'credit-card',
|
icon: 'credit-card',
|
||||||
label: computed(() => __('Billing')),
|
label: computed(() => __('Billing')),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user