mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Fix commits table regression (#25710)
Fixes #25693 The commits table appearance fix in #25634 was incomplete and caused a regression. This PR fixes that issue and removes some unneeded CSS classes because of the proper fix. <details> <summary>Before</summary>   </details> <details> <summary>After</summary>   </details> --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		@@ -1313,10 +1313,9 @@
 | 
				
			|||||||
  padding: 5px 10px;
 | 
					  padding: 5px 10px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.repository #commits-table thead th:first-of-type {
 | 
					.repository #commits-table td:not(.message) {
 | 
				
			||||||
  padding-left: 15px;
 | 
					  white-space: nowrap;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
.repository #commits-table thead .sha {
 | 
					.repository #commits-table thead .sha {
 | 
				
			||||||
  width: 200px;
 | 
					  width: 200px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -2684,6 +2683,7 @@ tbody.commit-list {
 | 
				
			|||||||
/* in the commit list, messages can wrap so we can use inline */
 | 
					/* in the commit list, messages can wrap so we can use inline */
 | 
				
			||||||
.commit-list .message-wrapper {
 | 
					.commit-list .message-wrapper {
 | 
				
			||||||
  display: inline;
 | 
					  display: inline;
 | 
				
			||||||
 | 
					  overflow-wrap: anywhere;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* but in the repo-files-table we cannot */
 | 
					/* but in the repo-files-table we cannot */
 | 
				
			||||||
@@ -3244,17 +3244,6 @@ tbody.commit-list {
 | 
				
			|||||||
  .commit-table th.sha {
 | 
					  .commit-table th.sha {
 | 
				
			||||||
    display: none !important;
 | 
					    display: none !important;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  .commit-table .commit-list span.message-wrapper {
 | 
					 | 
				
			||||||
    max-width: none;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .commit-table .commit-list tr td:first-child,
 | 
					 | 
				
			||||||
  .commit-table .commit-list tr td:last-child {
 | 
					 | 
				
			||||||
    white-space: nowrap;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .commit-table .commit-list td.author {
 | 
					 | 
				
			||||||
    display: block;
 | 
					 | 
				
			||||||
    width: calc(100% + 0.5rem);
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  .commit-table .commit-list .copy-commit-sha {
 | 
					  .commit-table .commit-list .copy-commit-sha {
 | 
				
			||||||
    display: none !important;
 | 
					    display: none !important;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user