Skip to content

Commit 0ee6ac9

Browse files
authored
chore: minor fixes (#750)
1 parent 0376859 commit 0ee6ac9

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.changeset/metal-bananas-move.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Fix \$label-width definition in Label component.

src/components/fields/TextInput/TextInput.docs.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Meta, Canvas, Story, Controls } from '@storybook/blocks';
1+
import { Meta, Story, Controls } from '@storybook/blocks';
22
import { TextInput } from './TextInput';
33
import * as TextInputStories from './TextInput.stories';
44

@@ -18,9 +18,7 @@ A text input component that allows users to input custom text entries with a key
1818

1919
## Component
2020

21-
<Canvas>
22-
<Story of={TextInputStories.Default} />
23-
</Canvas>
21+
<Story of={TextInputStories.Default} />
2422

2523
---
2624

src/components/form/Label.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const LABEL_STYLES: Styles = {
6767
whiteSpace: 'nowrap',
6868
width: {
6969
'': 'initial',
70-
side: '@(label-width, initial)',
70+
side: '($label-width, initial)',
7171
},
7272
};
7373

0 commit comments

Comments
 (0)