Skip to content

Commit

Permalink
warnings are positioned relative to .mainDisplay
Browse files Browse the repository at this point in the history
fixes #1054
  • Loading branch information
christianp committed Oct 27, 2023
1 parent 7dd6ee1 commit 07eb4cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions themes/default/files/resources/exam.css
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ input.jme {
margin: 0 0;
overflow-x: hidden;
overflow-y: auto;
position: relative;
}

.feedback-icon {
Expand Down Expand Up @@ -993,8 +994,8 @@ select.multiplechoice {
.warnings {
position: absolute;
z-index: 1;
width: 100%;
max-width: 20em;
margin-top: 1em;
width: 20em;
display: inline-block;
opacity: 0;
transition: opacity 0.2s;
Expand Down

0 comments on commit 07eb4cf

Please sign in to comment.