-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed source viewer dialog box to use flex CSS instead of broken JS h…
…eight settings.
- Loading branch information
Martin Krulis
committed
Oct 30, 2017
1 parent
3ee5f67
commit d3d1fdf
Showing
3 changed files
with
58 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,38 @@ | ||
.modal { | ||
width: 100%; | ||
height: 100%; | ||
position: absolute; | ||
width: auto; | ||
height: auto; | ||
top: 1vmax; | ||
bottom: 1vmax; | ||
left: 1vmax; | ||
right: 1vmax; | ||
margin: 0; | ||
|
||
& > :global(.modal-content) { | ||
min-height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
& > div:nth-child(2) { | ||
flex-grow: 1; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
} | ||
} | ||
|
||
.modalBody { | ||
flex-grow: 1; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
& > *:last-child { | ||
flex-grow: 1; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
& > * { | ||
flex-grow: 1; | ||
} | ||
} | ||
} |