Skip to content

Commit 9452b68

Browse files
committed
fix: Changed mainframe breakpoints
1 parent ed12068 commit 9452b68

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

assets/css/v2/style.css

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,7 @@ nav {
204204

205205
.content-layout {
206206
display: grid;
207-
grid-template-columns: var(--text-content-width-iphone-13) var(
208-
--side-gutter-width
209-
);
210-
column-gap: var(--component-gap);
207+
grid-template-columns: var(--text-content-width-iphone-13);
211208
}
212209

213210
.docs-container {
@@ -219,12 +216,6 @@ nav {
219216
flex-direction: column;
220217
}
221218

222-
@media (max-width: 1528px) {
223-
.sidebar-layout {
224-
display: none;
225-
}
226-
}
227-
228219
#searchbox {
229220
width: 24rem;
230221
display: none;
@@ -271,13 +262,13 @@ nav {
271262
width: 100%;
272263
}
273264

274-
@media (min-width: 1512px) {
275-
/* Macbook Pro 14 */
276-
.base-layout {
265+
@media (min-width: 1185px) {
266+
.main-layout {
277267
display: grid;
278-
grid-template-rows: repeat(2, auto);
268+
grid-template-columns: var(--sidebar-width) var(
269+
--text-content-width-iphone-13
270+
);
279271
column-gap: var(--component-gap);
280-
max-width: 100%;
281272
}
282273

283274
.breadcrumb-layout {
@@ -286,6 +277,21 @@ nav {
286277
column-gap: var(--component-gap);
287278
align-items: center;
288279
}
280+
}
281+
@media (max-width: 1184px) {
282+
.sidebar-layout {
283+
display: none;
284+
}
285+
}
286+
287+
@media (min-width: 1512px) {
288+
/* Macbook Pro 14 */
289+
.base-layout {
290+
display: grid;
291+
grid-template-rows: repeat(2, auto);
292+
column-gap: var(--component-gap);
293+
max-width: 100%;
294+
}
289295

290296
.text-content {
291297
grid-template-columns: var(--text-content-width-mbp-14) var(
@@ -726,8 +732,7 @@ atomic-search-layout atomic-layout-section[section="search"] {
726732
/* content */
727733
main {
728734
flex: 1;
729-
max-width: 50rem;
730-
min-width: 40rem;
735+
min-width: 30rem;
731736
margin: 2rem 2rem;
732737
}
733738

0 commit comments

Comments
 (0)