Center-align surah content
This commit is contained in:
parent
3802de7df7
commit
4146973cf6
2 changed files with 11 additions and 3 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
* vNEXT
|
||||
|
||||
** Center-align ~ul.body.stream~
|
||||
For RTL languages we will show the content of a surah centered,
|
||||
and within a max width of 470px
|
||||
|
||||
** Render ~LanguageSelect.tsx~ items in an optimal font
|
||||
RTL languages have ~Cairo Regular~ applied.
|
||||
LTR languages have ~Kanit Regular~ applied
|
||||
|
|
|
@ -24,11 +24,15 @@ body .root .content.theme.rtl {
|
|||
@extend .font-amiri;
|
||||
}
|
||||
}
|
||||
|
||||
ul.body.stream {
|
||||
li.ayah p {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 470px;
|
||||
max-width: 470px;
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* <= $breakpoint-sm */
|
||||
@media (max-width: $breakpoint-sm) {
|
||||
ul.body.stream {
|
||||
|
|
Loading…
Reference in a new issue