Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Extremely lucky breakpoint #9358

Merged
merged 3 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/carousel/CarouselTypeDrops.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ const DROP_SKELETON_COUNT = 3
const breakpoints: CarouseBreakpointsConfig = {
'640px': { slides: { perView: 1.2, spacing: 16 } },
'768px': {
slides: { perView: 2.2, spacing: 16 },
slides: { perView: 1.2, spacing: 16 },
},
'1024px': {
slides: { perView: 3, spacing: 32 },
slides: { perView: 2.2, spacing: 16 },
},
'1280px': {
slides: { perView: 3, spacing: 32 },
Expand Down
9 changes: 5 additions & 4 deletions components/drops/DropCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@

<div
class="py-5 px-5 flex flex-col justify-between gap-4 border-t border-card-border-color group-hover:border-border-color">
<span class="font-bold is-ellipsis text-xl">{{
drop.collection.name
}}</span>
<span
class="font-bold overflow-hidden text-ellipsis whitespace-nowrap text-xl"
>{{ drop.collection.name }}</span
>

<div
class="flex items-start md:items-center flex-col md:flex-row justify-between gap-4 md:gap-0">
class="flex item-start sm:items-center flex-col sm:flex-row justify-between flex-wrap gap-y-4 gap-x-2">
<div class="flex justify-between items-center min-h-[34px]">
<TimeTag
v-if="drop.dropStartTime || ended"
Expand Down
2 changes: 1 addition & 1 deletion components/drops/DropCardSkeleton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</div>

<div
class="flex items-start md:items-center flex-col md:flex-row justify-between gap-4 md:gap-0 w-full">
class="flex item-start sm:items-center flex-col sm:flex-row justify-between flex-wrap gap-y-4 gap-x-2">
<div class="w-32">
<NeoSkeleton
height="34"
Expand Down
Loading