Adjust margin based on direction (rtl / ltr)
This commit is contained in:
parent
d7c140bca1
commit
2ead06cf05
1 changed files with 2 additions and 1 deletions
|
@ -23,8 +23,9 @@ export function Stream({ locale, surah, stream, endOfStream, isPaused, t }: Prop
|
||||||
<ul
|
<ul
|
||||||
lang={locale.name}
|
lang={locale.name}
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"body stream scroll-y list-none p-0 m-0 mt-4 h-5/6",
|
"body stream scroll-y list-none p-0 m-0 h-5/6",
|
||||||
...className,
|
...className,
|
||||||
|
{"mt-4": ltr, "mt-6": rtl}
|
||||||
)}
|
)}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue