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:
parent
7d133488b7
commit
9ed7adcbf8
1 changed files with 0 additions and 2 deletions
|
@ -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