chore(client): tweak style

This commit is contained in:
syuilo 2022-07-01 17:08:45 +09:00 committed by Johann150
parent 1d3e6f172e
commit 1c2b1ad132
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -119,6 +119,7 @@ function createDoughnut(chartEl, tooltip, data) {
}],
},
options: {
maintainAspectRatio: false,
layout: {
padding: {
left: 16,
@ -172,10 +173,13 @@ onMounted(() => {
gap: 16px;
> .sub, > .pub {
flex: 1;
min-width: 0;
position: relative;
background: var(--panel);
border-radius: var(--radius);
padding: 24px;
max-height: 300px;
> .title {
position: absolute;
@ -183,6 +187,10 @@ onMounted(() => {
left: 24px;
}
}
@media (max-width: 600px) {
flex-direction: column;
}
}
}
</style>