mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-21 19:05:11 +00:00
refactor
This commit is contained in:
parent
1b2b95e199
commit
4be307f223
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ function more() {
|
|||
|
||||
<style lang="scss" module>
|
||||
.root {
|
||||
--nav-bg-transparent: color-mix(in srgb, var(--navBg), transparent 50%);
|
||||
--nav-bg-transparent: color(from var(--navBg) srgb r g b / 0.5);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -111,7 +111,7 @@ function more(ev: MouseEvent) {
|
|||
.root {
|
||||
--nav-width: 250px;
|
||||
--nav-icon-only-width: 80px;
|
||||
--nav-bg-transparent: color-mix(in srgb, var(--navBg), transparent 50%);
|
||||
--nav-bg-transparent: color(from var(--navBg) srgb r g b / 0.5);
|
||||
|
||||
flex: 0 0 var(--nav-width);
|
||||
width: var(--nav-width);
|
||||
|
|
Loading…
Reference in a new issue