Skip to content

Commit

Permalink
shrink guide previews on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
therealPaulPlay committed Oct 29, 2024
1 parent b39a097 commit 145cc68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/GuideCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<div
class="card {mobile
? 'image-full'
: 'card-side'} bg-base-200 shadow-md hover:shadow-xl transition-shadow duration-300 overflow-hidden">
<figure class="relative">
: 'card-side'} bg-base-200 shadow-md hover:shadow-xl transition-shadow duration-300 {mobile ? 'max-h-64' : ''} overflow-hidden">
<figure class="relative {mobile ? 'max-h-64' : ''}">
<img
src="/assets/guide_preview.png"
class="h-full {mobile ? 'w-64' : 'w-48'} dark:opacity-90"
Expand Down

0 comments on commit 145cc68

Please sign in to comment.