mirror of
https://github.com/directus/directus.git
synced 2026-02-01 14:04:57 -05:00
Show panel icon in header, fix active state buttons
This commit is contained in:
@@ -323,6 +323,10 @@ export default defineComponent({
|
||||
--v-button-color: var(--foreground-subdued);
|
||||
}
|
||||
|
||||
.outlined.active {
|
||||
background-color: var(--v-button-background-color);
|
||||
}
|
||||
|
||||
.dashed {
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
@@ -342,5 +342,7 @@ export default defineComponent({
|
||||
--v-button-color-hover: var(--foreground-normal);
|
||||
--v-button-background-color: var(--foreground-subdued);
|
||||
--v-button-background-color-hover: var(--foreground-normal);
|
||||
--v-button-color-active: var(--foreground-inverted);
|
||||
--v-button-background-color-active: var(--primary);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<v-drawer
|
||||
:model-value="isOpen"
|
||||
:title="(panel && panel.name) || t('panel')"
|
||||
:title="panel?.name || t('panel')"
|
||||
:subtitle="t('panel_options')"
|
||||
@cancel="$emit('cancel')"
|
||||
icon="insert_chart"
|
||||
:icon="panel?.icon || insert_chart"
|
||||
persistent
|
||||
>
|
||||
<template #actions>
|
||||
|
||||
Reference in New Issue
Block a user