update: form RWD

This commit is contained in:
Tony Yang committed 2025-04-15 10:57:48 +08:00
1 parent a4a7fd7d41
commit a54c8b0fba
2 files changed
+22

No files matched your search

+12
View File
@@ -45,3 +45,15 @@ function submit() {
</fieldset> </fieldset>
</form> </form>
</template> </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; color: red;
font-size: 0.8em; font-size: 0.8em;
} }
@media screen and (max-width: 768px) {
.ts-control {
--label-width: 80px;
}
.ts-control .content.is-fluid {
max-width: 100%;
}
}
</style> </style>