This commit is contained in:
syuilo
2022-01-04 15:36:14 +09:00
parent 23efba6193
commit 6a5713f5e5
14 changed files with 231 additions and 624 deletions

View File

@ -40,7 +40,7 @@ export default defineComponent({
return;
}
if (rect.width > props.contentMax || rect.width > 500) {
if (rect.width > props.contentMax || (rect.width > 360 && window.innerWidth > 400)) {
margin.value = props.marginMax;
} else {
margin.value = props.marginMin;