Fix layout on low-res devices

This commit is contained in:
0x1eef 2024-10-04 15:02:30 -03:00
parent 74d444031c
commit 026b5248c8

View file

@ -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%;
}
}
}
}