fix(client): fix sidebar style

This commit is contained in:
syuilo 2021-12-29 04:38:25 +09:00
parent 5cc65c5bd3
commit c7308f4178

View file

@ -285,7 +285,7 @@ export default defineComponent({
} }
&:before { &:before {
width: auto; width: min-content;
height: 100%; height: 100%;
aspect-ratio: 1/1; aspect-ratio: 1/1;
border-radius: 8px; border-radius: 8px;
@ -301,7 +301,7 @@ export default defineComponent({
&.post:before { &.post:before {
width: calc(100% - 28px); width: calc(100% - 28px);
height: auto; height: min-content;
aspect-ratio: 1/1; aspect-ratio: 1/1;
border-radius: 100%; border-radius: 100%;
} }