Skip to content

Commit

Permalink
🐛 fix: alert contents should not break in the middle of a word (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
phuctm97 authored Jul 15, 2024
1 parent 9db8955 commit e16882f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Alert/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const useStyles = createStyles(
.${prefixCls}-alert-message {
font-weight: ${hasTitle ? 600 : 400};
line-height: 24px;
word-break: break-all;
word-break: normal;
}
.${prefixCls}-alert-icon {
display: flex;
Expand All @@ -57,7 +57,7 @@ export const useStyles = createStyles(
css`
.${prefixCls}-alert-description {
line-height: 1.5;
word-break: break-all;
word-break: normal;
opacity: 0.75;
}
`,
Expand Down

0 comments on commit e16882f

Please sign in to comment.