Set max-width of 395px

This commit is contained in:
0x1eef 2024-06-11 00:28:08 -03:00
parent 6cd4c2e24b
commit eac0c23061
2 changed files with 2 additions and 1 deletions

View file

@ -22,6 +22,7 @@ body .root .content.theme.rtl {
ul.body.stream { ul.body.stream {
li.ayah p { li.ayah p {
line-height: 1.7; line-height: 1.7;
max-width: 395px;
} }
} }
/* <= $breakpoint-sm */ /* <= $breakpoint-sm */

View file

@ -53,7 +53,7 @@ export function Stream({ locale, surah, stream, endOfStream, isPaused, t }: Prop
{t(locale, "of")} {formatNumber(locale, surah.ayat.length)} {t(locale, "of")} {formatNumber(locale, surah.ayat.length)}
</span> </span>
</span> </span>
<p className={classNames("m-0", { "w-96": locale.direction === "rtl" })}> <p className={classNames("m-0")}>
{ayah.body} {ayah.body}
</p> </p>
</li> </li>