Skip to content
Snippets Groups Projects
Commit 144a6b09 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix(ADialog): don’t force inheritance of text color

This ensures that a dark-scheme dialog used on a light-scheme page will
use the text color defined for the dialog and not the page.
parent 02e78b0c
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<dialog
v-if="isOpen"
ref="dialogEl"
class="tw-shadow-xl tw-border tw-rounded tw-p-0 tw-bg-white tw-z-30 tw-flex tw-flex-col tw-text-inherit tw-border-gray-200 dark:tw-bg-neutral-900 dark:tw-border-neutral-800"
class="tw-shadow-xl tw-border tw-rounded tw-p-0 tw-bg-white tw-z-30 tw-flex tw-flex-col tw-border-gray-200 dark:tw-bg-neutral-900 dark:tw-border-neutral-800"
:class="{ 'tw-dark': dark }"
style="max-width: 95%"
@close.stop="close"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment