Skip to content

Commit cc71037

Browse files
committed
feat: also enlarge the iframe for editor popups
1 parent 41be652 commit cc71037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ body.questionpy-iframe-body {
4747
top: 4vh !important; /* stylelint-disable-line declaration-no-important */
4848
}
4949

50-
&:has(.moodle-dialogue:not(.moodle-dialogue-hidden)) {
50+
&:has(.moodle-dialogue:not(.moodle-dialogue-hidden), .modal.show) {
5151
/* The iframe needs to be taller than the filepicker dialog, or it'll be unusable. */
5252
@media (max-width: 780px) {
5353
min-height: 1000px;

0 commit comments

Comments
 (0)