From 65ee08c0489ac5fd2286963a212f9135a5fe106f Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 3 Jan 2023 17:59:22 -0800 Subject: [PATCH] fix shadows --- package.json | 2 +- packages/client/src/components/MkInstanceTicker.vue | 3 ++- packages/client/src/pages/user/home.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cc623059e..6021c3d4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.0.8.2", + "version": "13.0.8.3", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/MkInstanceTicker.vue b/packages/client/src/components/MkInstanceTicker.vue index 351a329f0..85c3b9030 100644 --- a/packages/client/src/components/MkInstanceTicker.vue +++ b/packages/client/src/components/MkInstanceTicker.vue @@ -40,7 +40,8 @@ const bg = { padding: .1em .7em; border-radius: 100px; font-size: .8em; - text-shadow: 0 2px 2px black; + text-shadow: 0 2px 2px var(--shadow); + overflow: hidden; > .icon { height: 100%; diff --git a/packages/client/src/pages/user/home.vue b/packages/client/src/pages/user/home.vue index fbd684685..b105eeed1 100644 --- a/packages/client/src/pages/user/home.vue +++ b/packages/client/src/pages/user/home.vue @@ -227,7 +227,7 @@ onUnmounted(() => { background-color: #26233a; background-size: cover; background-position: center; - box-shadow: 0 0 128px rgba(0, 0, 0, 0.5) inset; + box-shadow: 0 0 128px var(--shadow) inset; will-change: background-position; &::after {