Merge pull request #3042 from mervekaraman/master

Z-index of the modal is not enough
This commit is contained in:
Denis Duliçi 2023-09-04 17:49:53 +03:00 committed by GitHub
commit bbc85909c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
<template>
<SlideYUpTransition :duration="animationDuration">
<div class="modal w-full h-full fixed top-0 left-0 right-0 z-50 overflow-y-auto overflow-hidden modal-add-new fade justify-center"
<div class="modal w-full h-full fixed top-0 left-0 right-0 overflow-y-auto overflow-hidden modal-add-new fade justify-center"
@click.self="closeModal"
:class="[modalPositionTop ? 'items-start' : 'items-center', {'show flex flex-wrap modal-background': show}, {'hidden': !show}]"
style="z-index: 100;"
v-show="show"
tabindex="-1"
role="dialog"

View File

@ -1,4 +1,4 @@
<div class="text-red text-sm mt-1 block"
<div class="text-red text-sm mt-1 block whitespace-normal"
v-if="{{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.has("' . $name . '")' }}"
v-html="{{ isset($attributes['v-error-message']) ? $attributes['v-error-message'] : 'form.errors.get("' . $name . '")' }}">
</div>