Skip to content

Commit

Permalink
fix: consistent challenge/privileges modal centering
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Aug 17, 2020
1 parent 7ca8d87 commit 12d77af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.sk-modal-background(ng-click="ctrl.cancel()")
#privileges-modal.sk-modal-content
#privileges-modal.challenge-modal.sk-modal-content
.sn-component
.sk-panel
.sk-panel-header
Expand Down
7 changes: 6 additions & 1 deletion app/assets/stylesheets/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
}
}

.challenge-modal {
.sk-panel .sk-panel-header {
justify-content: center;
}
}

#privileges-modal {
min-width: 400px;
max-width: 700px;
Expand All @@ -21,7 +27,6 @@

.sk-panel-header {
position: relative;
justify-content: center;
}

.close-button {
Expand Down

0 comments on commit 12d77af

Please sign in to comment.