tweak ui
This commit is contained in:
parent
23efba6193
commit
6a5713f5e5
14 changed files with 231 additions and 624 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue