We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e200c43 + 0f5b859 commit 6a40b25Copy full SHA for 6a40b25
1 file changed
bases/rsptx/interactives/runestone/activecode/css/activecode.css
@@ -240,11 +240,12 @@
240
/* Hidden by default */
241
position: fixed;
242
/* Stay in place */
243
- z-index: 200;
+ z-index: 9000;
244
/* Sit on top */
245
- left: 200px;
246
- top: 200px;
+ left: calc((100% - 800px) / 2);
247
width: 800px;
+ top: 5%;
248
+ max-height: 90%;
249
overflow: auto;
250
/* Enable scroll if needed */
251
padding: 20px;
@@ -253,9 +254,11 @@
253
254
background-color: var(--background);
255
}
256
-.scratch-ac-modal {
257
- max-height: 90%;
258
- overflow-y: scroll;
+@media (max-width: 960px) {
+ .scratch-ac-modal {
259
+ width: 90%;
260
+ left: 5%;
261
+ }
262
263
264
.ac-modal-body,
0 commit comments