Skip to content

Commit

Permalink
fix: do not cover more screen than necessary (title bar) with challen…
Browse files Browse the repository at this point in the history
…ge modal
  • Loading branch information
arielsvg committed Oct 16, 2020
1 parent 62da387 commit 04131f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ p {
.main-ui-view {
min-height: 100vh;
height: 100vh;
position: relative;
overflow: auto;
background-color: var(--sn-stylekit-background-color);
}
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@
}

.sk-modal {
position: fixed;
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: $z-index-modal;
width: 100vw;
height: 100vh;
width: 100%;
height: 100%;

background-color: transparent;
color: var(--sn-stylekit-contrast-foreground-color);
Expand Down

0 comments on commit 04131f8

Please sign in to comment.