From d3859efd745999ea94fd68a0a5c62fb06ae8490c Mon Sep 17 00:00:00 2001 From: vargajoe Date: Fri, 29 Sep 2023 14:20:55 +0200 Subject: [PATCH] set datetime width --- packages/sn-controls-react/src/fieldcontrols/date-picker.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/sn-controls-react/src/fieldcontrols/date-picker.tsx b/packages/sn-controls-react/src/fieldcontrols/date-picker.tsx index 8b8ff3924..ece38f31e 100644 --- a/packages/sn-controls-react/src/fieldcontrols/date-picker.tsx +++ b/packages/sn-controls-react/src/fieldcontrols/date-picker.tsx @@ -99,6 +99,7 @@ export const DatePicker: React.FC> required={settings.Compulsory} fullWidth={true} format="yyyy MMMM dd" + style={{ width: 220 }} /> ) : ( > required={settings.Compulsory} fullWidth={true} format="yyyy MMMM dd hh:mm aaaa" + style={{ width: 220 }} /> )} {!hideDescription && {settings.Description}}