Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ $btn-width-large: 3.72rem;
justify-content: center;

.tedi-btn--link & {
vertical-align: text-bottom;
line-height: inherit;
}
}

Expand Down
22 changes: 22 additions & 0 deletions src/tedi/components/buttons/button/button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,3 +381,25 @@ export const LongTextButtonThatWrapsIntoMultipleLines: Story = {
</VerticalSpacing>
),
};

export const VisualTypeLink: StoryObj<TemplateMultipleProps> = {
render: () => (
<VerticalSpacing>
<Row gap={3}>
<Col width="auto">
<Button visualType="link">Add file</Button>
</Col>
<Col width="auto">
<Button visualType="link" iconLeft="add">
Add file
</Button>
</Col>
<Col width="auto">
<Button visualType="link" iconRight="add">
Add file
</Button>
</Col>
</Row>
</VerticalSpacing>
),
};
7 changes: 0 additions & 7 deletions src/tedi/components/form/search/search.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,6 @@ export const AccessibilityFocused: Story = {
ariaLabel: 'Otsi tooteid või teenuseid',
},
parameters: {
a11y: {
config: {
rules: {
label: { enabled: false },
},
},
},
docs: {
description: {
story: `
Expand Down
Loading