1
0
forked from Leaf/amber-ui
This commit is contained in:
Twilight 2024-09-12 11:17:13 +08:00
parent 086dd9979a
commit a2a4cafcd0

View File

@ -98,7 +98,8 @@ if (isMobile.value) {
// //
width.value = window.innerWidth - 100; width.value = window.innerWidth - 100;
} else { } else {
width.value = "40%"; // 40%
width.value = window.innerWidth * 0.4
} }
const userPlacement = ref("bottom"); const userPlacement = ref("bottom");