0
0
This commit is contained in:
syuilo 2024-09-24 13:55:35 +09:00
parent 1b2b95e199
commit 4be307f223
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);