update: form RWD

This commit is contained in:
Tony Yang
2025-04-15 10:57:48 +08:00
parent a4a7fd7d41
commit a54c8b0fba
2 changed files with 22 additions and 0 deletions
+12
View File
@@ -45,3 +45,15 @@ function submit() {
</fieldset>
</form>
</template>
<style scoped>
@media screen and (max-width: 768px) {
.ts-control {
--label-width: 50px;
}
.ts-control .content.is-fluid {
max-width: 100%;
}
}
</style>
+10
View File
@@ -97,4 +97,14 @@ const avatarUrl = computed(() => {
color: red;
font-size: 0.8em;
}
@media screen and (max-width: 768px) {
.ts-control {
--label-width: 80px;
}
.ts-control .content.is-fluid {
max-width: 100%;
}
}
</style>