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.
select
1 parent f74b035 commit e0b8c4dCopy full SHA for e0b8c4d
.changeset/hot-experts-wink.md
@@ -0,0 +1,5 @@
1
+---
2
+'@swisspost/design-system-documentation': patch
3
4
+
5
+Removed duplicate size class from `select` elements using floating labels.
packages/documentation/src/stories/components/forms/select/select.stories.ts
@@ -213,8 +213,7 @@ const Template: Story = {
213
const [_, updateArgs] = useArgs();
214
const classes = [
215
'form-select',
216
- args.size,
217
- args.sizeFloatingLabel,
+ args.floatingLabel ? args.sizeFloatingLabel : args.size, // Only include the appropriate size based on mode
218
args.validation,
219
args.floatingLabelPlaceholder && !args.value ? 'form-select-empty' : null,
220
]
0 commit comments