Skip to content

Commit fb67e7b

Browse files
authored
Merge pull request #1398 from MehulKChaudhari/fix-width-fix-no-code-doc
2 parents c676cb7 + 7f3cb7c commit fb67e7b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

app/styles/app.scss

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ table {
5656
// override ember-styleguide. Needed to contain code blocks.
5757
.main {
5858
grid-area: main;
59-
max-width: 700px;
59+
width: 700px;
6060
}
6161

6262
// override ember-styleguide. Looks like normal text otherwise.
@@ -152,7 +152,7 @@ table {
152152
grid-area: main;
153153
overflow: auto;
154154
margin-left: 0;
155-
max-width: 100%;
155+
width: 100%;
156156
}
157157

158158
.padding-vertical-small {
@@ -207,6 +207,18 @@ table {
207207
}
208208
}
209209

210+
@media (min-width: 1007px) and (max-width: 1261px) {
211+
.layout-grid {
212+
grid-template:
213+
"sidebar main" auto /
214+
20rem 1fr;
215+
}
216+
217+
.main {
218+
width: auto;
219+
}
220+
}
221+
210222
@media (min-width: 1007px) {
211223
.toc-toggle {
212224
display: none;

0 commit comments

Comments
 (0)