fix: Update the styles for the datepicker in custom snooze modal (#10207)
This commit is contained in:
@@ -44,15 +44,18 @@ export default {
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<woot-modal-header :header-title="$t('CONVERSATION.CUSTOM_SNOOZE.TITLE')" />
|
<woot-modal-header :header-title="$t('CONVERSATION.CUSTOM_SNOOZE.TITLE')" />
|
||||||
<form class="modal-content" @submit.prevent="chooseTime">
|
<form
|
||||||
|
class="modal-content w-full pt-2 px-5 pb-6"
|
||||||
|
@submit.prevent="chooseTime"
|
||||||
|
>
|
||||||
<DatePicker
|
<DatePicker
|
||||||
v-model:value="snoozeTime"
|
v-model:value="snoozeTime"
|
||||||
type="datetime"
|
type="datetime"
|
||||||
inline
|
inline
|
||||||
|
input-class="mx-input reset-base"
|
||||||
:lang="lang"
|
:lang="lang"
|
||||||
:disabled-date="disabledDate"
|
:disabled-date="disabledDate"
|
||||||
:disabled-time="disabledTime"
|
:disabled-time="disabledTime"
|
||||||
:popup-style="{ width: '100%' }"
|
|
||||||
/>
|
/>
|
||||||
<div class="flex flex-row justify-end w-full gap-2 px-0 py-2">
|
<div class="flex flex-row justify-end w-full gap-2 px-0 py-2">
|
||||||
<woot-button variant="clear" @click.prevent="onClose">
|
<woot-button variant="clear" @click.prevent="onClose">
|
||||||
@@ -65,9 +68,3 @@ export default {
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.modal-content {
|
|
||||||
@apply pt-2 px-5 pb-6;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user