🐛 Fix a view in charge to set the Login dimesions according to the screen aspect-ratio
This commit is contained in:
19
src/ui/components/_panel.scss
Normal file
19
src/ui/components/_panel.scss
Normal file
@@ -0,0 +1,19 @@
|
||||
@import "../base.scss";
|
||||
|
||||
$panel-aspect-ratio: 1/1.618;
|
||||
$panel-padding-v: 5%;
|
||||
$panel-padding-h: 5%;
|
||||
|
||||
%panel {
|
||||
padding: $panel-padding-v $panel-padding-h;
|
||||
|
||||
height: calc(100% - $panel-padding-v - (2 * $border-big-width));
|
||||
width: calc(100% - $panel-padding-h - (2 * $border-big-width));
|
||||
flex-shrink: 0;
|
||||
|
||||
border: $border-big;
|
||||
border-color: get-color(primary, 90);
|
||||
border-radius: $border-radius;
|
||||
|
||||
background-color: get-color(greyscale, 0);
|
||||
}
|
Reference in New Issue
Block a user