diff --git a/public/css/custom.css b/public/css/custom.css index d1c6f37..9356de3 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -752,7 +752,7 @@ width: 80px; height: 80px; border-radius: 50%; - object-fit: contain; + object-fit: cover; margin-bottom: 10px; } .switch { diff --git a/src/components/commuters/CommuterCalendar.vue b/src/components/commuters/CommuterCalendar.vue index eec66c2..82878d3 100644 --- a/src/components/commuters/CommuterCalendar.vue +++ b/src/components/commuters/CommuterCalendar.vue @@ -4,7 +4,7 @@
- Profile Image + Profile Image

{{ user.name }}

@@ -60,7 +60,7 @@
{{ commuter.memberName }} @@ -399,7 +399,7 @@ const loadCommuters = async () => { // 프로필 이미지 생성 const profileImg = document.createElement('img'); profileImg.src = `${baseUrl}upload/img/profile/${commuter.profile}`; - profileImg.className = 'rounded-circle w-px-20 h-px-20 mx-1 mb-1 position-relative z-5 m-auto object-fit-contain'; + profileImg.className = 'rounded-circle w-px-20 h-px-20 mx-1 mb-1 position-relative z-5 m-auto object-fit-cover'; profileImg.style.border = `2px solid ${commuter.projctcolor}`; profileImg.onerror = () => { profileImg.src = '/img/icons/icon.png'; }; diff --git a/src/components/commuters/CommuterProjectList.vue b/src/components/commuters/CommuterProjectList.vue index 31832a4..3aa4d4a 100644 --- a/src/components/commuters/CommuterProjectList.vue +++ b/src/components/commuters/CommuterProjectList.vue @@ -23,7 +23,7 @@ User Profile 최초 작성자
최종 작성자 diff --git a/src/components/user/UserList.vue b/src/components/user/UserList.vue index c7374c0..729e775 100644 --- a/src/components/user/UserList.vue +++ b/src/components/user/UserList.vue @@ -14,7 +14,7 @@ :data-bs-original-title="getTooltipTitle(user)" > user
최초 작성자
최근 작성자 diff --git a/src/stores/useWeatherStore.js b/src/stores/useWeatherStore.js index e737c56..31fac05 100644 --- a/src/stores/useWeatherStore.js +++ b/src/stores/useWeatherStore.js @@ -76,7 +76,6 @@ export const useWeatherStore = defineStore('weather', () => { const now = new Date(); const pad = n => String(n).padStart(2, '0'); const key = `weather_${pad(now.getMonth() + 1)}${pad(now.getDate())}${pad(now.getHours())}${pad(Math.floor(now.getMinutes() / 10) * 10)}`; - const cached = localStorage.getItem(key); if (cached) { const parsed = JSON.parse(cached); diff --git a/src/views/mypage/MyPage.vue b/src/views/mypage/MyPage.vue index c95f99a..bee8fbd 100644 --- a/src/views/mypage/MyPage.vue +++ b/src/views/mypage/MyPage.vue @@ -10,7 +10,7 @@ id="profileLabel" :style="profilePreviewStyle" > - + {{ profilerr }}
@@ -186,7 +186,7 @@ const profilePreviewStyle = computed(() => ({ height: '100px', backgroundImage: `url(${profile.value})`, backgroundRepeat: 'no-repeat', - backgroundSize: 'contain', + backgroundSize: 'cover', backgroundPosition: 'center' }));