Skip to content

Commit 19f8ca9

Browse files
author
Jakub Holak
committed
Fix broken stories
1 parent 9a2942e commit 19f8ca9

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

src/components/filter/Filter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const Filter: FunctionComponent<IFilter> = ({
119119
<FilterContent
120120
hasComponent={!!accompanyingComponent}
121121
spacing="spacing01"
122-
padding="spacing04"
122+
innerSpacing="spacing04"
123123
>
124124
{children}
125125
</FilterContent>

src/components/modal/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export const Modal = ({
136136
<StyledModal {...props}>
137137
<ModalBox
138138
modalMinWidth={modalMinWidth}
139-
padding="spacing04"
139+
innerSpacing="spacing04"
140140
shadow="shadow04"
141141
>
142142
<ModalHeader>

src/components/pagetitle/Pagetitle.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,29 @@ interface PageTitleBreadcrumbsProps {
1818

1919
const PageTitleWrapper = styled.div`
2020
h3 {
21-
line-height:2rem;
21+
line-height: 2rem;
2222
font-weight: ${theme.fontWeights.medium};
2323
margin: 0 0 ${theme.spacing.spacing01};
2424
}
2525
`;
2626

27-
export const PageTitle: FunctionComponent<PageTitleProps> = ({
28-
title
29-
}) => {
27+
export const PageTitle: FunctionComponent<PageTitleProps> = ({ title }) => {
3028
return (
3129
<PageTitleWrapper>
3230
<Heading level={3}>{title}</Heading>
3331
</PageTitleWrapper>
34-
)};
35-
32+
);
33+
};
3634

37-
export const PageTitleBreadcrumbs: FunctionComponent<PageTitleBreadcrumbsProps> = ({
35+
export const PageTitleBreadcrumbs: FunctionComponent<PageTitleBreadcrumbsProps> = ({
3836
title,
3937
list,
40-
margin
38+
margin,
4139
}) => {
4240
return (
43-
<Box padding="spacing04" shadow="shadow02">
41+
<Box innerSpacing="spacing04" shadow="shadow02">
4442
<PageTitle title={title} />
4543
<Breadcrumbs list={list} />
4644
</Box>
47-
)};
45+
);
46+
};

src/stories/Button.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ import { Container } from "../components/container";
121121
<Story name="custom-spacing">
122122
<Container>
123123
<p>
124-
<Button ml="3rem" mb="10rem" padding="0">
124+
<Button ml="3rem" mb="10rem" innerSpacing="0">
125125
Disabled button
126126
</Button>
127127
</p>

0 commit comments

Comments
 (0)