Optimize statistics page stylesheet

This commit is contained in:
2023-12-09 23:17:27 +08:00
parent 88812f63c1
commit e9ba26174d

View File

@@ -6,7 +6,7 @@
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
>.card-box { > .card-box {
width: 48%; width: 48%;
flex: 0 0 auto; flex: 0 0 auto;
@@ -54,15 +54,21 @@
.value-chart { .value-chart {
justify-content: space-around; justify-content: space-around;
width: 0; width: 0;
>div {
> div {
max-height: 12px; max-height: 12px;
height: 12px; height: 12px;
>* {
> * {
transform: translateY(1px); transform: translateY(1px);
} }
} }
} }
.value-percent {
text-align: right;
}
> * { > * {
gap: 5px; gap: 5px;
} }