fix(client): fix sidebar style

This commit is contained in:
syuilo 2021-12-29 04:38:25 +09:00
parent f0a54c047a
commit f3f2431b91

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%;
} }