summaryrefslogtreecommitdiff
path: root/packages/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/src')
-rw-r--r--packages/client/src/ui/_common_/sidebar.vue13
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%;
}
}