Skip to content

Commit

Permalink
center empty text on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed May 20, 2024
1 parent 5189b1e commit 4a35f06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/AreaMerchantHighlights.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
{/each}
</div>
{:else}
<p class="text-left text-primary dark:text-white">No boosted merchants in this area.</p>
<p class="text-center text-primary dark:text-white sm:text-left">
No boosted merchants in this area.
</p>
{/if}
</div>
</div>
Expand Down Expand Up @@ -74,7 +76,7 @@
{/each}
</div>
{:else}
<p class="text-left text-primary dark:text-white">
<p class="text-center text-primary dark:text-white sm:text-left">
No latest added in this area. You can <a
href="/add-location"
class="text-link transition-colors hover:text-hover">add a new merchant</a
Expand Down

0 comments on commit 4a35f06

Please sign in to comment.