Skip to content

Commit

Permalink
Fix ordering issue with description and buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
LZylstra committed Jan 14, 2025
1 parent db76c10 commit b8db7ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/Block/Carousel/CarouselCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ const { data: cardData } = useAsyncData(`carousel-card-${props.uuid}`, () =>
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-4);
padding-bottom: var(--space-2);
}
h2 {
font-style: normal;
Expand All @@ -78,12 +80,14 @@ const { data: cardData } = useAsyncData(`carousel-card-${props.uuid}`, () =>
overflow-wrap: break-word;
}
.description {
order: 1;
min-height: calc(var(--line-height-2xl) * 1.5);
@media (max-width: 768px) {
max-width: 80%;
}
}
.custom-button-group {
order: 2;
display: flex;
flex-wrap: nowrap !important;
justify-content: center;
Expand Down

0 comments on commit b8db7ef

Please sign in to comment.