MikaFil commited on
Commit
ee8a3a0
·
verified ·
1 Parent(s): d7ead5d

Update style/defaults/style.css

Browse files
Files changed (1) hide show
  1. style/defaults/style.css +19 -0
style/defaults/style.css CHANGED
@@ -336,3 +336,22 @@ html, body {
336
  margin: 0;
337
  padding: 5px;
338
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
336
  margin: 0;
337
  padding: 5px;
338
  }
339
+
340
+ /* --------------------------------------------------------------------------- */
341
+ /* NEW MOBILE RULES — ensure instructions panel fits on phones */
342
+ /* --------------------------------------------------------------------------- */
343
+ @media (max-width: 600px) {
344
+ .menu-content {
345
+ width: 85vw; /* 80-90 % of viewport width */
346
+ max-height: 55vh; /* keep it within ~half the screen */
347
+ overflow-y: auto; /* scroll internally if content is long */
348
+ padding: 14px 18px; /* slightly tighter padding on small screens */
349
+ font-size: 14px; /* minor font-size tweak so lines wrap cleaner */
350
+ }
351
+
352
+ /* keep the close button inside the panel’s bounds */
353
+ .menu-content .help-close {
354
+ top: 6px;
355
+ right: 6px;
356
+ }
357
+ }