Skip to content

Commit c4e4741

Browse files
authored
fix: readable max width style (#343)
1 parent 2a09d3e commit c4e4741

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/theme/DocItem/Layout/styles.module.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
@media (min-width: 997px) {
77
.docItemCol {
8-
max-width: 75% !important;
8+
--readableMaxWidth: calc(calc(1080px*0.25)*3);
9+
max-width: var(--readableMaxWidth) !important;
10+
margin: 0 auto;
911
}
1012
}

0 commit comments

Comments
 (0)