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,24 +21,19 @@ body .root .content.theme {
|
||||||
body .root .content.theme.rtl {
|
body .root .content.theme.rtl {
|
||||||
ul.body.stream {
|
ul.body.stream {
|
||||||
li.ayah p {
|
li.ayah p {
|
||||||
|
width: 100%;
|
||||||
@extend .font-amiri;
|
@extend .font-amiri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.body.stream {
|
/* >= $breakpoint-sm */
|
||||||
display: flex;
|
@media (min-width: $breakpoint-sm) {
|
||||||
flex-direction: column;
|
|
||||||
min-width: 470px;
|
|
||||||
max-width: 470px;
|
|
||||||
align-self: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* <= $breakpoint-sm */
|
|
||||||
@media (max-width: $breakpoint-sm) {
|
|
||||||
ul.body.stream {
|
ul.body.stream {
|
||||||
li.ayah p {
|
display: flex;
|
||||||
width: 100%;
|
flex-direction: column;
|
||||||
}
|
min-width: 470px;
|
||||||
|
max-width: 470px;
|
||||||
|
align-self: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue