refactor: use shorthand property for navigation positioning
This commit is contained in:
parent
f7ae855221
commit
df3014e2a5
2 changed files with 3 additions and 12 deletions
|
@ -64,10 +64,7 @@
|
|||
--navigation-flow: row nowrap;
|
||||
--navigation-justify: space-evenly;
|
||||
--navigation-align: center;
|
||||
--navigation-position-top: auto;
|
||||
--navigation-position-right: 0;
|
||||
--navigation-position-bottom: 0;
|
||||
--navigation-position-left: 0;
|
||||
--navigation-position: auto 0 0 0;
|
||||
|
||||
--navigation-size: 4rem;
|
||||
--navigation-width: 100%;
|
||||
|
@ -224,10 +221,7 @@
|
|||
--navigation-flow: column nowrap;
|
||||
--navigation-justify: flex-start;
|
||||
--navigation-align: stretch;
|
||||
--navigation-position-top: 0;
|
||||
--navigation-position-right: auto;
|
||||
--navigation-position-bottom: 0;
|
||||
--navigation-position-left: 0;
|
||||
--navigation-position: 0 auto 0 0;
|
||||
|
||||
--navigation-width: calc(
|
||||
var(--navigation-size) + env(safe-area-inset-left)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue