Skip to content

Commit

Permalink
enable vertical scrolling in modal dialog (#9895)
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms authored Mar 1, 2024
1 parent c2aeb66 commit daf04df
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.import-rubric-modal {
div[class*="common-modal-body"] {
background-color: var(--pxt-content-background);
justify-content: center;
}

.import-rubric {
Expand Down
1 change: 1 addition & 0 deletions teachertool/src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,4 @@ code {

@import "./style.overrides/Button.scss";
@import "./style.overrides/Input.scss";
@import "./style.overrides/Modal.scss";
13 changes: 13 additions & 0 deletions teachertool/src/style.overrides/Modal.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

.common-modal {
max-height: 90vh;
display: flex;
flex-direction: column;
}

.common-modal-body {
flex: 1;
display: flex;
flex-direction: column;
overflow-y: scroll;
}

0 comments on commit daf04df

Please sign in to comment.