mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 06:03:51 +03: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.
This commit is contained in:
parent
8e46efef95
commit
0764b7c18b
1 changed files with 0 additions and 2 deletions
|
@ -80,7 +80,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,7 +88,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