Skip to content

Commit d179aca

Browse files
alireza-mhtimdorr
authored andcommitted
fix(remix-run#7003): style collapse on 1350px view (remix-run#7027)
1 parent a1b96d5 commit d179aca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/modules/base.css

+6
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,13 @@ a {
6666
float: left;
6767
clear: right;
6868
white-space: pre-wrap;
69+
max-width: 50%;
6970
}
7071

72+
/* overide language class */
73+
.markdown > pre .language-jsx {
74+
white-space: pre-wrap;
75+
}
7176
/* all the things we render *except* headers and <pre>, add them as needed! */
7277
.markdown > *:not(pre):not(h1):not(h2) {
7378
display: block;
@@ -147,6 +152,7 @@ h3 {
147152
border-radius: 6px;
148153
overflow: auto;
149154
width: 100%;
155+
max-width: 100%;
150156
}
151157

152158
.markdown > *:not(pre):not(h1):not(h2) {

0 commit comments

Comments
 (0)