Skip to content

Commit 5e555fe

Browse files
committed
Update text-wrap property in styles.css
This commit changes the default text-wrap property in the .description class from "pretty" to "balance". The additional @supports rule reintroduces the "pretty" value for browsers that support it, ensuring compatibility with older browsers.
1 parent 67beb22 commit 5e555fe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

styles.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ body {
2121

2222
.description {
2323
max-width: 450px;
24-
text-wrap: pretty;
24+
text-wrap: balance;
25+
}
26+
27+
@supports (text-wrap: pretty) {
28+
.description {
29+
text-wrap: pretty;
30+
}
2531
}
2632

2733
iframe {

0 commit comments

Comments
 (0)