fix(task): improve task delete modal on mobile
(cherry picked from commit 9f9b00144b8175defbddd14422cae9af4d65af54)
This commit is contained in:
parent
ab29ac7a5c
commit
33c9ea802a
@ -34,7 +34,7 @@
|
|||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<slot>
|
<slot>
|
||||||
<div class="header">
|
<div class="modal-header">
|
||||||
<slot name="header" />
|
<slot name="header" />
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@ -140,7 +140,7 @@ $modal-width: 1024px;
|
|||||||
transform: none;
|
transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.modal-header {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
@ -241,6 +241,14 @@ $modal-width: 1024px;
|
|||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-content:has(.modal-header) {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 0 1rem;
|
||||||
|
min-height: 100vh
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@ -573,8 +573,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #text>
|
<template #text>
|
||||||
<p>
|
<p class="tw-text-balance !tw-mb-0">
|
||||||
{{ $t('task.detail.delete.text1') }}<br>
|
{{ $t('task.detail.delete.text1') }}
|
||||||
|
</p>
|
||||||
|
<p class="tw-text-balance">
|
||||||
{{ $t('task.detail.delete.text2') }}
|
{{ $t('task.detail.delete.text2') }}
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user