Skip to content

Commit f3a2deb

Browse files
author
Khusika Dhamar Gusti
committed
fix(css/media): Display toc-static under 1200px
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
1 parent b20c937 commit f3a2deb

2 files changed

Lines changed: 19 additions & 23 deletions

File tree

assets/css/_core/_media.scss

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,28 +55,6 @@
5555
width: 52%;
5656
}
5757

58-
.single {
59-
width: 64%;
60-
}
61-
62-
#header-desktop .header-wrapper {
63-
padding: 0 1rem;
64-
}
65-
66-
.home[data-home=posts] {
67-
.summary-card {
68-
.summary{
69-
min-height: 20.5rem;
70-
}
71-
}
72-
}
73-
74-
.search-dropdown.desktop {
75-
right: 1rem;
76-
}
77-
}
78-
79-
@media only screen and (max-width: 960px) {
8058
#toc-auto {
8159
display: none;
8260
}
@@ -99,6 +77,24 @@
9977
}
10078
}
10179

80+
#header-desktop .header-wrapper {
81+
padding: 0 1rem;
82+
}
83+
84+
.home[data-home=posts] {
85+
.summary-card {
86+
.summary{
87+
min-height: 20.5rem;
88+
}
89+
}
90+
}
91+
92+
.search-dropdown.desktop {
93+
right: 1rem;
94+
}
95+
}
96+
97+
@media only screen and (max-width: 960px) {
10298
.home[data-home=posts] {
10399
.summary-card {
104100
.summary{

0 commit comments

Comments
 (0)