Skip to content

Commit

Permalink
[ASU SGAB] bug with popup into xBlocks (#589)
Browse files Browse the repository at this point in the history
* fixed bug with popup

* change height of content block for asset upload popup
  • Loading branch information
ihor-romaniuk authored and Igor Degtiarov committed Sep 20, 2018
1 parent c1f55f1 commit 082af88
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cms/static/sass/elements/_modal-window.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@
.modal-med {
width: 40%;
min-width: ($baseline*18);
position: fixed;
top: 50% !important;
left: 50% !important;
transform: translate(-50%,-50%);
max-height: 98vh;
overflow: auto;

.modal-content {
padding: 4%;
Expand All @@ -232,6 +238,10 @@

.modal-content {
padding: $baseline;

.upload-dialog {
padding: 5px 10px;
}
}

&.modal-editor {
Expand Down Expand Up @@ -279,6 +289,12 @@
overflow-x: hidden;
padding: 0;
}

.wrapper-modal-window-assetupload {
.modal-content {
height: auto;
}
}
}
}

Expand Down

0 comments on commit 082af88

Please sign in to comment.