refactor
This commit is contained in:
parent
1b2b95e199
commit
4be307f223
|
@ -82,7 +82,7 @@ function more() {
|
||||||
|
|
||||||
<style lang="scss" module>
|
<style lang="scss" module>
|
||||||
.root {
|
.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;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
@ -111,7 +111,7 @@ function more(ev: MouseEvent) {
|
||||||
.root {
|
.root {
|
||||||
--nav-width: 250px;
|
--nav-width: 250px;
|
||||||
--nav-icon-only-width: 80px;
|
--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);
|
flex: 0 0 var(--nav-width);
|
||||||
width: var(--nav-width);
|
width: var(--nav-width);
|
||||||
|
|
Loading…
Reference in a new issue