diff --git a/src/components/vacation/ProfileList.vue b/src/components/vacation/ProfileList.vue index fcab2a4..2ed4a88 100644 --- a/src/components/vacation/ProfileList.vue +++ b/src/components/vacation/ProfileList.vue @@ -87,27 +87,6 @@ profilePath && profilePath.trim() ? `${baseUrl}upload/img/profile/${profilePath} const setDefaultImage = (event) => (event.target.src = defaultProfile); const showImage = (event) => (event.target.style.visibility = "visible"); -// 화면 크기에 따라 프로필 크기 동적 조정 -const profileSize = computed(() => { -const totalUsers = userList.value.length; - -if (windowWidth.value >= 1850) { - if (totalUsers <= 10) return "80px"; - if (totalUsers <= 15) return "60px"; - return "45px"; -} else if (windowWidth.value >= 1500) { - if (totalUsers <= 10) return "60px"; - if (totalUsers <= 15) return "40px"; - return "30px"; -} else if (windowWidth.value >= 900) { - if (totalUsers <= 10) return "48px"; - if (totalUsers <= 15) return "30px"; - return "20px"; -} else { - return "35px"; -} -}); - const getDynamicStyle = (user) => ({ borderWidth: "3px", borderColor: user.usercolor || "#ccc", diff --git a/src/layouts/TheMenu.vue b/src/layouts/TheMenu.vue index 6c5c44c..13edc90 100644 --- a/src/layouts/TheMenu.vue +++ b/src/layouts/TheMenu.vue @@ -74,6 +74,12 @@