mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 15:21:48 +03:00
Single column media posts for very small viewport
This commit is contained in:
parent
75bca8ed3a
commit
5f64553d17
1 changed files with 5 additions and 1 deletions
|
@ -213,7 +213,7 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
|||
&.timeline-media {
|
||||
--grid-gap: 8px;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-template-columns: 1fr;
|
||||
grid-auto-rows: fit-content;
|
||||
gap: var(--grid-gap);
|
||||
padding: var(--grid-gap);
|
||||
|
@ -222,6 +222,10 @@ a[href^='http'][rel*='nofollow']:visited:not(:has(div)) {
|
|||
background-color: var(--bg-faded-color);
|
||||
}
|
||||
|
||||
@media (min-width: 320px) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
@media (min-width: 40em) {
|
||||
&:not(#columns &) {
|
||||
--grid-gap: 16px;
|
||||
|
|
Loading…
Add table
Reference in a new issue