Skip to content

Commit

Permalink
tune group content placement
Browse files Browse the repository at this point in the history
  • Loading branch information
matuskosut committed Feb 22, 2024
1 parent bd2a9b7 commit 7b5bb38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/.vitepress/components/ProductSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export default {
max-width="920"
>
<v-slide-group
class="h-100 pa-4"
class="h-100 py-4"
show-arrows
style="margin-left: -24px; margin-right: -24px"
>
<v-slide-group-item
v-for="item in products"
Expand Down
4 changes: 4 additions & 0 deletions pages/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,7 @@
text-align: center;
gap: 1rem;
}

.v-slide-group__content {
justify-content: center;
}

0 comments on commit 7b5bb38

Please sign in to comment.