Skip to content

Commit 2505048

Browse files
committed
refactor: 버튼 padding 수정, storybook global scss 적용
1 parent cca32f7 commit 2505048

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.storybook/preview.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
body {
2+
max-width: initial;
3+
}
4+
15
.Wrapper {
26
display: flex;
37
flex-flow: row wrap;

.storybook/preview.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { Preview } from "@storybook/react";
22

3+
import "@/styles/reset.scss";
4+
import "@/styles/global.scss";
35
import styles from "./preview.module.scss";
46

57
const preview: Preview = {

src/components/ui/BaseButton/BaseButton.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
border-radius: 0.875rem;
66
width: 100%;
77
height: 3.25rem;
8+
padding: 0.875rem;
89
}

src/components/ui/IconButton/IconButton.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
&.size-sm {
1616
gap: 0.125rem;
1717
height: 2.375rem;
18+
padding: 0.5rem 0.875rem;
1819
background-color: var(--color-text01);
1920
color: var(--color-white);
2021
border-radius: 0.75rem;

0 commit comments

Comments
 (0)