MikaFil commited on
Commit
fd86ed3
·
verified ·
1 Parent(s): 40b596d

Update style/defaults/style.css

Browse files
Files changed (1) hide show
  1. style/defaults/style.css +8 -1
style/defaults/style.css CHANGED
@@ -125,7 +125,13 @@ progress::-moz-progress-bar {
125
  box-shadow: none;
126
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
127
  z-index: 1010;
 
 
 
 
 
128
  }
 
129
  .help-close {
130
  position: absolute;
131
  top: 8px;
@@ -341,7 +347,7 @@ html, body { margin: 0; padding: 0; height: 100%; }
341
  @media (max-width: 600px) {
342
  .menu-content {
343
  width: 85vw;
344
- max-height: 55vh;
345
  overflow-y: auto;
346
  padding: 40px 18px 14px;
347
  font-size: 14px;
@@ -351,3 +357,4 @@ html, body { margin: 0; padding: 0; height: 100%; }
351
  right: 6px;
352
  }
353
  }
 
 
125
  box-shadow: none;
126
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
127
  z-index: 1010;
128
+ max-width: 90vw; /* Do not exceed viewport width */
129
+ max-height: 90%; /* <<< NEW: Do not exceed 90% of viewer container */
130
+ overflow-y: auto; /* Scroll vertically if needed */
131
+ overflow-x: auto; /* Prevent overflow horizontally */
132
+ box-sizing: border-box;
133
  }
134
+
135
  .help-close {
136
  position: absolute;
137
  top: 8px;
 
347
  @media (max-width: 600px) {
348
  .menu-content {
349
  width: 85vw;
350
+ max-height: 90%;
351
  overflow-y: auto;
352
  padding: 40px 18px 14px;
353
  font-size: 14px;
 
357
  right: 6px;
358
  }
359
  }
360
+