support for partial height dialogs

This commit is contained in:
Fedor Katurov 2020-01-20 13:27:28 +07:00
parent 30197c7f15
commit c3e136cebb
3 changed files with 59 additions and 70 deletions

View file

@ -1,13 +1,12 @@
.dialog {
// background: #222222;
// background: linear-gradient(130deg, #320523, #020d2b);
// background: #271535;
position: fixed;
left: 0;
top: 0;
width: 360px;
height: 100%;
z-index: 5;
display: flex;
flex-direction: column;
padding: 10px 10px 68px 10px;
box-sizing: border-box;
@ -77,7 +76,6 @@
.dialog-content {
background: @dialog_background;
height: 100%;
overflow: hidden;
position: relative;
border-radius: @panel_radius @panel_radius 0 @panel_radius;
@ -90,6 +88,10 @@
color: white;
opacity: 0.8;
}
&.full {
flex: 1;
}
}
.dialog-shader {