Only add more gap if there's enough space

This commit is contained in:
Lim Chee Aun 2024-03-03 21:35:23 +08:00
parent 7a7d51f56e
commit 0bf5ef52ac

View file

@ -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);