pref: adjust balance mobile

This commit is contained in:
KUN1007 2023-10-16 21:50:12 +08:00
parent 0f78c81192
commit 5d4c47557b
2 changed files with 40 additions and 0 deletions

View file

@ -178,8 +178,42 @@ onMounted(async () => {
}
@media (max-width: 1000px) {
.root {
width: 80%;
height: 100%;
margin: auto;
}
.content {
flex-direction: column;
justify-content: center;
align-items: center;
width: 80%;
div {
&:nth-child(1) {
margin-bottom: 20px;
}
}
}
.title {
font-size: 20px;
}
.amount-status-deficit {
flex-direction: column;
div {
&:nth-child(2) {
margin-top: 20px;
}
}
}
}
@media (max-width: 700px) {
.root {
width: 95%;
}
.content {
width: 100%;
}
}

View file

@ -103,4 +103,10 @@ const { isIncome, incomeData, expenditureData, statement } = toRefs(props)
background-color: var(--kungalgame-trans-pink-0);
}
}
@media (max-width: 1000px) {
.form {
width: 100%;
}
}
</style>