Fix layout on low-res devices
This commit is contained in:
parent
74d444031c
commit
026b5248c8
1 changed files with 8 additions and 13 deletions
|
@ -21,10 +21,13 @@ body .root .content.theme {
|
|||
body .root .content.theme.rtl {
|
||||
ul.body.stream {
|
||||
li.ayah p {
|
||||
width: 100%;
|
||||
@extend .font-amiri;
|
||||
}
|
||||
}
|
||||
|
||||
/* >= $breakpoint-sm */
|
||||
@media (min-width: $breakpoint-sm) {
|
||||
ul.body.stream {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -32,13 +35,5 @@ body .root .content.theme.rtl {
|
|||
max-width: 470px;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
/* <= $breakpoint-sm */
|
||||
@media (max-width: $breakpoint-sm) {
|
||||
ul.body.stream {
|
||||
li.ayah p {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue