mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	As discussed in https://github.com/go-gitea/gitea/issues/31667 &
https://github.com/go-gitea/gitea/issues/26561, when a card on a Project
contains images, they can overflow the card on its containing column.
This aims to fix this issue via snapping scrollbars.
---
Backport: #5029
Conflict resolution: none
Modification: 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 8e46efef95)
		
	
			
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			441 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			441 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
| .issue-card {
 | |
|   display: flex;
 | |
|   flex-direction: column;
 | |
|   align-items: stretch;
 | |
|   border-radius: var(--border-radius);
 | |
|   padding: 8px 10px;
 | |
|   border: 1px solid var(--color-secondary);
 | |
|   background: var(--color-card);
 | |
| }
 | |
| 
 | |
| .issue-card-icon,
 | |
| .issue-card-unpin {
 | |
|   margin-top: 1px;
 | |
|   flex-shrink: 0;
 | |
| }
 | |
| 
 | |
| .issue-card-title {
 | |
|   flex: 1;
 | |
|   font-size: 14px;
 | |
|   margin-left: 4px;
 | |
| }
 | |
| 
 | |
| .issue-card.sortable-chosen .issue-card-title {
 | |
|   cursor: inherit;
 | |
| }
 |