Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Sep 24, 2024
1 parent 1b2b95e commit 4be307f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/src/ui/_common_/navbar-for-mobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/ui/_common_/navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4be307f

Please sign in to comment.