Skip to content

Commit

Permalink
fix: 메인 로고 수정, 카테고리 select시에 description이 없는 경우에 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mini-xi committed Jul 4, 2024
1 parent 7420e06 commit f284043
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CategorySelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</select>
</div>

<div class="radio-container" v-if="selectedLastCategory">
<div class="radio-container" v-if="selectedLastCategory && descriptions.length > 0">
<div v-for="description in descriptions" :key="description" class="radio-item">
<input type="radio" :id="description" :value="description" v-model="selectedDescription">
<label :for="description">{{ description }}</label>
Expand Down
13 changes: 13 additions & 0 deletions src/components/ProductList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,19 @@ export default {
margin-top: 150px;
max-width: 100%;
height: auto;
animation: floating 2s ease-in-out infinite;
}
@keyframes floating {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-15px);
}
100% {
transform: translateY(0);
}
}
.sort-dropdown {
Expand Down

0 comments on commit f284043

Please sign in to comment.