mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Use flex-grow insted of the flex <value> notation
This commit is contained in:
parent
e5c180fcf2
commit
ccb2ab27f6
1 changed files with 3 additions and 1 deletions
|
|
@ -11,13 +11,15 @@
|
|||
}
|
||||
|
||||
.root {
|
||||
/* Expand to available space */
|
||||
flex-grow: 1;
|
||||
|
||||
/* Dimensions */
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
||||
/* Layout */
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
|
||||
@media (--viewportMedium) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue