mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 14:31:02 +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. --- Conflict resolution: none (cherry picked from commit fe7c9416777243264e8482d3af29e30c2b671074)
		
			
				
	
	
		
			40 lines
		
	
	
	
		
			663 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			663 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
| .issue-card {
 | |
|   display: flex;
 | |
|   flex-direction: column;
 | |
|   gap: 4px;
 | |
|   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;
 | |
| }
 | |
| 
 | |
| .issue-card.sortable-chosen .issue-card-title {
 | |
|   cursor: inherit;
 | |
| }
 | |
| 
 | |
| .issue-card-bottom {
 | |
|   display: flex;
 | |
|   width: 100%;
 | |
|   justify-content: space-between;
 | |
|   gap: 0.25em;
 | |
| }
 | |
| 
 | |
| .issue-card-assignees {
 | |
|   display: flex;
 | |
|   align-items: center;
 | |
|   gap: 0.25em;
 | |
|   justify-content: end;
 | |
|   flex-wrap: wrap;
 | |
| }
 |