Merge pull request #8394 from aignatov-bio/ai-sci-11491-fix-long-date-formats

Fix long dates formats [SCI-11491]
This commit is contained in:
aignatov-bio 2025-04-07 10:03:13 +02:00 committed by GitHub
commit 17698921ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
<template>
<div class='relative'>
<template v-if="range">
<div class="flex items-center gap-x-4 gap-y-2 flex-wrap lg:flex-nowrap">
<div class="flex lg:items-center gap-x-4 gap-y-2 flex-col lg:flex-row">
<DateTimePicker
@change="updateFromDate"
:mode="mode"
@ -9,6 +9,7 @@
:clearable="true"
:disabled="fieldDisabled"
:placeholder="fieldDisabled ? '' : i18n.t('forms.fields.from')"
class="grow"
:class="{'error': !validValue}"
/>
<span class="tw-hidden lg:block">-</span>
@ -19,6 +20,7 @@
:disabled="fieldDisabled"
:clearable="true"
:placeholder="fieldDisabled ? '' : i18n.t('forms.fields.to')"
class="grow"
:class="{'error': !validValue}"
/>
</div>