mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00: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:
parent
7d133488b7
commit
9ed7adcbf8
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue