1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00

[UI] Remove snapping for images on project cards

Remove the snapping of the images on the projects cards, the images are
way too small to notice that when scrolling you're being snapped to
these images and when you do notice it, it doesn't make sense as you
wouldn't expect it to be snapped.

(cherry picked from commit 0764b7c18b)
This commit is contained in:
Gusted 2024-08-20 16:01:43 +02:00
parent 7d133488b7
commit 9ed7adcbf8
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -81,7 +81,6 @@
white-space: nowrap; white-space: nowrap;
overflow: scroll; overflow: scroll;
cursor: default; cursor: default;
scroll-snap-type: x mandatory;
text-align: center; text-align: center;
} }
@ -90,7 +89,6 @@
max-height: 50px; max-height: 50px;
border-radius: var(--border-radius); border-radius: var(--border-radius);
text-align: left; text-align: left;
scroll-snap-align: center;
margin-right: 2px; margin-right: 2px;
aspect-ratio: 1; aspect-ratio: 1;
} }