Skip to content

Commit 21346d8

Browse files
committed
Cut login button text word by word
1 parent f1c1a6b commit 21346d8

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

src/components/auth/AuthEmailForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const AuthEmailFormBlock = styled.form`
3333
border-top-right-radius: 2px;
3434
border-bottom-right-radius: 2px;
3535
width: 5rem;
36+
word-break: keep-all;
3637
cursor: pointer;
3738
&:hover,
3839
&:focus {

src/components/common/PostCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ const PostCardBlock = styled.div`
7373
font-size: 1.5rem;
7474
margin: 0;
7575
color: ${palette.gray9};
76+
word-break: keep-all;
7677
${media.small} {
7778
font-size: 1rem;
7879
}

src/components/common/RoundButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const RoundButtonBlock = styled.button<RoundButtonBlockProps>`
5353
border: none;
5454
outline: none;
5555
font-weight: bold;
56+
word-break: keep-all;
5657
background: ${props => buttonColorMap[props.color].background};
5758
color: ${props => buttonColorMap[props.color].color};
5859
&:hover {

src/components/common/Typography.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const TypographyBlock = styled.div`
88
color: ${palette.gray7};
99
line-height: 1.85;
1010
letter-spacing: -0.02em;
11-
word-break: normal;
11+
word-break: keep-all;
1212
word-wrap: break-word;
1313
p {
1414
/* ${media.xxlarge} {

src/components/post/PostHead.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const PostHeadBlock = styled(VelogResponsive)`
3131
font-weight: 800;
3232
color: ${palette.gray8};
3333
margin-bottom: 2rem;
34+
word-break: keep-all;
3435
}
3536
3637
${media.medium} {

0 commit comments

Comments
 (0)