MikaFil commited on
Commit
ad1df0e
·
verified ·
1 Parent(s): f4f6703

Update style/defaults/style.css

Browse files
Files changed (1) hide show
  1. style/defaults/style.css +12 -9
style/defaults/style.css CHANGED
@@ -145,9 +145,10 @@ progress::-moz-progress-bar {
145
  z-index: 1010;
146
  pointer-events: auto !important;
147
  box-sizing: border-box;
148
- overflow: auto;
149
- max-width: 600px;
150
  max-height: 70vh;
 
151
  min-width: 200px;
152
  }
153
 
@@ -169,20 +170,22 @@ progress::-moz-progress-bar {
169
  }
170
 
171
  /* Responsive rules for menu-content */
172
- @media (max-width: 800px) {
173
  .menu-content {
174
  max-width: 80vw !important;
175
  max-height: 80vh !important;
176
  font-size: 14px;
177
- padding: 18px 10px 14px 10px;
 
178
  }
179
  }
180
  @media (max-width: 600px) {
181
  .menu-content {
182
- max-width: 90vw !important;
183
- max-height: 65vh !important;
184
- font-size: 13.5px;
185
- padding: 16px 5px 12px 8px;
 
186
  }
187
  .menu-content .help-close {
188
  width: 28px;
@@ -195,8 +198,8 @@ progress::-moz-progress-bar {
195
 
196
  /* Menu-content never goes outside viewer */
197
  .viewer-container {
198
- position: absolute;
199
  overflow: visible !important;
 
200
  }
201
 
202
  /* -------------------- END INSTRUCTIONS PANEL -------------------- */
 
145
  z-index: 1010;
146
  pointer-events: auto !important;
147
  box-sizing: border-box;
148
+ /* --- ENSURE THE PANEL NEVER OVERFLOWS THE VIEWER --- */
149
+ max-width: 70vw;
150
  max-height: 70vh;
151
+ overflow: auto;
152
  min-width: 200px;
153
  }
154
 
 
170
  }
171
 
172
  /* Responsive rules for menu-content */
173
+ @media (max-width: 900px) {
174
  .menu-content {
175
  max-width: 80vw !important;
176
  max-height: 80vh !important;
177
  font-size: 14px;
178
+ padding: 16px 8px 14px 10px;
179
+ overflow: auto !important;
180
  }
181
  }
182
  @media (max-width: 600px) {
183
  .menu-content {
184
+ max-width: 80vw !important;
185
+ max-height: 80vh !important;
186
+ font-size: 13px;
187
+ padding: 12px 4px 12px 6px;
188
+ overflow: auto !important;
189
  }
190
  .menu-content .help-close {
191
  width: 28px;
 
198
 
199
  /* Menu-content never goes outside viewer */
200
  .viewer-container {
 
201
  overflow: visible !important;
202
+ position: absolute;
203
  }
204
 
205
  /* -------------------- END INSTRUCTIONS PANEL -------------------- */