Skip to content

Commit 17c212b

Browse files
authored
Merge pull request #260 from RockefellerArchiveCenter/development
Fix alert component text overflow
2 parents 4a290ff + cd1a299 commit 17c212b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stylesheets/components/_alert.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515

1616
/**
1717
* Base alert class.
18+
* 1. Ensure all text wraps in the alert without overflow.
1819
**/
1920
.alert {
2021
align-items: center;
2122
border: 1px solid;
2223
display: flex;
2324
margin: 10px 0;
2425
padding: 20px;
26+
overflow-wrap: anywhere; /* 1 */
2527
}
2628

2729
/**

0 commit comments

Comments
 (0)