Skip to content

Commit

Permalink
added more truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan committed Jan 19, 2025
1 parent ba209d6 commit f78f827
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/HomepageTabs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
{@const lastReadVerse = $__lastRead.verse}
<a href="/{lastReadChapter}/{lastReadVerse}" class="{continueReadingButtonClasses} mb-2 truncate w-full" on:click={() => window.umami.track('Continue Chapter Button')}>
<span class="invisible chapter-icons mb-1 text-2xl md:text-3xl" style="color: {window.theme('icon')}">{@html `&#xE9${quranMetaData[lastReadChapter].icon};`}</span>
<span>
<span class="truncate">
Continue Reading:
{quranMetaData[lastReadChapter].transliteration}, {lastReadChapter}:{lastReadVerse}
</span>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@
</div>
</a>
<button class="mt-8 rounded-full text-center px-4 py-3 flex flex-row items-center justify-center space-x-1 w-full z-10 {window.theme('bgSecondaryDark')}" on:click={() => __quranNavigationModalVisible.set(true)} data-umami-event="Homepage Search Bar">
<div class="flex flex-row justify-center">
<div class="flex flex-row justify-center truncate">
<span class="mt-[2px] mr-1"><Search size={6} /></span>
<span class="opacity-70">Navigate or Search Quran</span>
<span class="opacity-70 truncate">Navigate or Search Quran</span>
</div>
</button>
</div>
Expand Down

0 comments on commit f78f827

Please sign in to comment.