We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fa588 commit 162f8fdCopy full SHA for 162f8fd
src/utils/uiUtil.ts
@@ -148,8 +148,8 @@ export function getDefaultFormat(
148
}
149
150
export function getInputSize(picker: PickerMode | undefined, format: string) {
151
- const defaultSize = picker === 'time' ? 9 : 11;
152
- return Math.max(defaultSize, format.length + 2);
+ const defaultSize = picker === 'time' ? 8 : 10;
+ return Math.max(defaultSize, format.length);
153
154
155
// ====================== Mode ======================
0 commit comments