chore: remove overlay outline

This commit is contained in:
Phan An 2024-04-18 22:04:33 +02:00
parent 971f184e65
commit ca34b5e2a9
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -81,6 +81,7 @@ cypress/downloads/
/log /log
coverage.xml coverage.xml
.phpunit.result.cache .phpunit.result.cache
.phpunit.cache
log.json log.json
.php_cs.cache .php_cs.cache

View file

@ -2,11 +2,11 @@
<dialog <dialog
ref="el" ref="el"
:class="state.type" :class="state.type"
class="border-0 p-0 bg-transparent backdrop:bg-black/80" class="border-0 p-0 bg-transparent backdrop:bg-black/80 outline-0"
data-testid="overlay" data-testid="overlay"
@cancel.prevent="onCancel" @cancel.prevent="onCancel"
> >
<div class="flex items-baseline justify-center gap-3"> <span class="flex items-baseline justify-center gap-3">
<SoundBars v-if="state.type === 'loading'" /> <SoundBars v-if="state.type === 'loading'" />
<Icon v-if="state.type === 'error'" :icon="faCircleExclamation" /> <Icon v-if="state.type === 'error'" :icon="faCircleExclamation" />
<Icon v-if="state.type === 'warning'" :icon="faWarning" /> <Icon v-if="state.type === 'warning'" :icon="faWarning" />
@ -14,7 +14,7 @@
<Icon v-if="state.type === 'success'" :icon="faCircleCheck" /> <Icon v-if="state.type === 'success'" :icon="faCircleCheck" />
<span class="message" v-html="state.message" /> <span class="message" v-html="state.message" />
</div> </span>
</dialog> </dialog>
</template> </template>