Skip to content

Commit

Permalink
Merge pull request #118 from CETEN-OpenBar/fix/safari-items-wrap
Browse files Browse the repository at this point in the history
fix(client): items wrapping on safari
  • Loading branch information
aripot007 authored Oct 9, 2024
2 parents e393118 + 20bd1f5 commit d4f4779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/components/client/items.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
{#each items as item}
<!-- image wil be in a button box -->
<div
class="flex-1 flex flex-col my-1 min-w-40 max-w-40 min-h-50 h-50 max-h-50
class="flex-1 flex flex-col basis-[min-content] my-1 min-w-40 max-w-40 min-h-50 h-50 max-h-50
items-center rounded-lg text-white transition-colors duration-300 overflow-x-clip"
>
<!-- add info svg on the top right -->
Expand Down Expand Up @@ -179,7 +179,7 @@
alt={item.name}
/>
<div class="flex flex-col">
<span class="text-lg font-bold w-40">{item.name}</span>
<span class="text-lg font-bold w-40 m-[0_auto]">{item.name}</span>
<span class="text-sm">Prix: {formatPrice(item.display_price ?? 999)}</span>
</div>
{#if item.amount_left <= 0}
Expand Down

0 comments on commit d4f4779

Please sign in to comment.