Skip to content

Commit 4a35f06

Browse files
committed
center empty text on mobile
1 parent 5189b1e commit 4a35f06

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/AreaMerchantHighlights.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
{/each}
4646
</div>
4747
{:else}
48-
<p class="text-left text-primary dark:text-white">No boosted merchants in this area.</p>
48+
<p class="text-center text-primary dark:text-white sm:text-left">
49+
No boosted merchants in this area.
50+
</p>
4951
{/if}
5052
</div>
5153
</div>
@@ -74,7 +76,7 @@
7476
{/each}
7577
</div>
7678
{:else}
77-
<p class="text-left text-primary dark:text-white">
79+
<p class="text-center text-primary dark:text-white sm:text-left">
7880
No latest added in this area. You can <a
7981
href="/add-location"
8082
class="text-link transition-colors hover:text-hover">add a new merchant</a

0 commit comments

Comments
 (0)