From f3f2431b91464edf3fd56ca08acf813f34babf2f Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 29 Dec 2021 04:38:25 +0900 Subject: [PATCH] fix(client): fix sidebar style --- packages/client/src/ui/_common_/sidebar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/ui/_common_/sidebar.vue b/packages/client/src/ui/_common_/sidebar.vue index bf560e8dd..fa712ba45 100644 --- a/packages/client/src/ui/_common_/sidebar.vue +++ b/packages/client/src/ui/_common_/sidebar.vue @@ -285,7 +285,7 @@ export default defineComponent({ } &:before { - width: auto; + width: min-content; height: 100%; aspect-ratio: 1/1; border-radius: 8px; @@ -301,7 +301,7 @@ export default defineComponent({ &.post:before { width: calc(100% - 28px); - height: auto; + height: min-content; aspect-ratio: 1/1; border-radius: 100%; }