mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 17:16:26 +01:00
Only add more gap if there's enough space
This commit is contained in:
parent
7a7d51f56e
commit
0bf5ef52ac
1 changed files with 5 additions and 1 deletions
|
@ -209,11 +209,15 @@
|
||||||
margin: 0 16px;
|
margin: 0 16px;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--hairline-width);
|
row-gap: var(--hairline-width);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
justify-content: stretch;
|
justify-content: stretch;
|
||||||
background-image: linear-gradient(to bottom, transparent, var(--bg-color));
|
background-image: linear-gradient(to bottom, transparent, var(--bg-color));
|
||||||
|
|
||||||
|
@media (min-width: 640px) {
|
||||||
|
column-gap: var(--hairline-width);
|
||||||
|
}
|
||||||
|
|
||||||
.posts-bin {
|
.posts-bin {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--hairline-width);
|
gap: var(--hairline-width);
|
||||||
|
|
Loading…
Reference in a new issue