Adaptive dashboard widget height
This commit is contained in:
parent
1d24c878e6
commit
1cf93199d0
1 changed files with 7 additions and 2 deletions
|
@ -30,10 +30,11 @@ main {
|
|||
display: flex;
|
||||
flex-flow: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
|
||||
.widgets-row {
|
||||
height: calc(50% - 3em);
|
||||
margin: 2em 1em;
|
||||
display: flex;
|
||||
}
|
||||
|
@ -41,9 +42,13 @@ main {
|
|||
.widget {
|
||||
background: $background-color;
|
||||
border-radius: 5px;
|
||||
height: 22.5em;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
|
||||
}
|
||||
}
|
||||
|
||||
#widgets-container {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue