Skip to content

Commit de5a68f

Browse files
committed
Keep nav title for mobile
1 parent 1b075c5 commit de5a68f

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/assets/overrides.css

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,18 @@
170170
}
171171

172172
/* --- Navigation --- */
173-
.md-nav__title {
174-
position: absolute;
175-
width: 1px;
176-
height: 1px;
177-
padding: 0;
178-
margin: -1px;
179-
overflow: hidden;
180-
clip: rect(0, 0, 0, 0);
181-
white-space: nowrap;
182-
border-width: 0;
173+
@media (min-width: 1220px) {
174+
.md-nav__title {
175+
position: absolute;
176+
width: 1px;
177+
height: 1px;
178+
padding: 0;
179+
margin: -1px;
180+
overflow: hidden;
181+
clip: rect(0, 0, 0, 0);
182+
white-space: nowrap;
183+
border-width: 0;
184+
}
183185
}
184186

185187
.md-nav__link--active {

0 commit comments

Comments
 (0)