Render three columns

This commit is contained in:
0x1eef 2024-09-18 16:05:23 -03:00
parent 44e143254e
commit f66040965d
2 changed files with 5 additions and 1 deletions

View file

@ -2,6 +2,10 @@
** vNEXT
**** Render three columns on ~SurahIndex.tsx~
The ~SurahIndex.tsx~ component renders three columns for RTL
languages (compared with two columns before)
**** Revisit ~SurahStream.tsx~ for RTL languages
The appearance of the ~SurahStream.tsx~ component was revisted
for RTL languages, especially Arabic

View file

@ -46,7 +46,7 @@ export function SurahIndex({ locale, surahs, t }: Props) {
<li
className={classNames("flex justify-center surah", {
"w-full": locale.direction === "ltr",
"w-1/2": locale.direction === "rtl",
"w-1/3": locale.direction === "rtl",
})}
key={key}
>