diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-12-25 16:03:57 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-12-25 16:03:57 +0900 |
| commit | 85740dd09f477b357b59dc2e15e351dc6a55be8a (patch) | |
| tree | 163d1a905c1d6b0a949fc4320f0e97b0244e48b1 /packages/client/src/ui/_common_ | |
| parent | enhance(client): improve note preview (diff) | |
| download | sharkey-85740dd09f477b357b59dc2e15e351dc6a55be8a.tar.gz sharkey-85740dd09f477b357b59dc2e15e351dc6a55be8a.tar.bz2 sharkey-85740dd09f477b357b59dc2e15e351dc6a55be8a.zip | |
fix(client): fix sidebar style
Fix #8049
Diffstat (limited to 'packages/client/src/ui/_common_')
| -rw-r--r-- | packages/client/src/ui/_common_/sidebar.vue | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/client/src/ui/_common_/sidebar.vue b/packages/client/src/ui/_common_/sidebar.vue index e363c3abd9..bf560e8dd6 100644 --- a/packages/client/src/ui/_common_/sidebar.vue +++ b/packages/client/src/ui/_common_/sidebar.vue @@ -170,6 +170,8 @@ export default defineComponent({ } &:hover, &.active { + color: var(--accent); + &:before { content: ""; display: block; @@ -283,8 +285,10 @@ export default defineComponent({ } &:before { - width: 100%; - border-radius: 0; + width: auto; + height: 100%; + aspect-ratio: 1/1; + border-radius: 8px; } &.post { @@ -296,8 +300,9 @@ export default defineComponent({ } &.post:before { - width: calc(100% - 32px); - height: calc(100% - 32px); + width: calc(100% - 28px); + height: auto; + aspect-ratio: 1/1; border-radius: 100%; } } |