Skip to content

Commit 3a181e9

Browse files
committed
Fixed media query styles visibility
1 parent e7d1557 commit 3a181e9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

content/includes/layout.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
{% block meta -%}
66
<meta charset="utf-8">
77
<meta name="generator" content="{{ eleventy.generator }}">
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
89
{% if keywords -%}
910
<meta name="keywords" content="{{ keywords }}">
1011
{%- endif %}

styles/usejsdoc.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,13 @@ th {
223223
flex-wrap: nowrap;
224224
width: 100vw;
225225
max-width: 1500px;
226+
margin: 0 auto;
226227
}
227228

228229
/* Sidebar styling */
229230
.nav-sidebar {
230-
min-width: 280px;
231-
max-width: 280px;
231+
min-width: 300px;
232+
max-width: 300px;
232233
background-color: var(--bg-color);
233234
padding: 25px 20px;
234235
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
@@ -288,7 +289,7 @@ th {
288289

289290

290291
/* Responsive design Mobile*/
291-
@media (max-width: 768px) {
292+
@media screen and (max-width: 768px) {
292293
body {
293294
--F-size: 12.5px;
294295
font-size: var(--F-size);

0 commit comments

Comments
 (0)