From bff9e84e1eb529d40ccd47716ce8fa793efdf5a3 Mon Sep 17 00:00:00 2001 From: Etienne Boileau Date: Mon, 27 May 2024 09:44:26 +0200 Subject: [PATCH] FIX #103 --- client/src/components/ui/FormCascade.vue | 5 +++++ client/src/presets/windscm/cascadeselect/index.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/components/ui/FormCascade.vue b/client/src/components/ui/FormCascade.vue index 3735f863..0c3603b9 100644 --- a/client/src/components/ui/FormCascade.vue +++ b/client/src/components/ui/FormCascade.vue @@ -78,6 +78,11 @@ const props = defineProps({ :optionGroupChildren="props.optionGroupChildren" :placeholder="props.placeholder" :class="error ? props.errCls : ''" + :pt="{ + root: { class: 'w-full md:w-full' }, + sublist: { class: 'w-full sm:w-80' } + }" + :ptOptions="{ mergeProps: true }" /> diff --git a/client/src/presets/windscm/cascadeselect/index.js b/client/src/presets/windscm/cascadeselect/index.js index 4ecacf00..40a59cf9 100644 --- a/client/src/presets/windscm/cascadeselect/index.js +++ b/client/src/presets/windscm/cascadeselect/index.js @@ -6,7 +6,7 @@ export default { 'relative', // Shape - // 'w-full md:w-56', + 'w-full md:w-56', 'rounded-md', 'shadow-sm',