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