mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Changed scroll to auto for some UI elements. (#20294)
Addition to: Show scrollbar when necessary #20142 Fixes the "empty" scrollbars with Firefox.
This commit is contained in:
		@@ -12,7 +12,7 @@
 | 
			
		||||
  .table.segment {
 | 
			
		||||
    padding: 0;
 | 
			
		||||
    font-size: 13px;
 | 
			
		||||
    overflow-x: scroll;
 | 
			
		||||
    overflow-x: auto;
 | 
			
		||||
 | 
			
		||||
    &:not(.striped) {
 | 
			
		||||
      thead {
 | 
			
		||||
 
 | 
			
		||||
@@ -3352,7 +3352,7 @@ td.blob-excerpt {
 | 
			
		||||
  .commit-header-row {
 | 
			
		||||
    .ui.horizontal.list {
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      overflow-x: scroll;
 | 
			
		||||
      overflow-x: auto;
 | 
			
		||||
      margin-top: 2px;
 | 
			
		||||
 | 
			
		||||
      .item {
 | 
			
		||||
@@ -3401,7 +3401,7 @@ td.blob-excerpt {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .commit-table {
 | 
			
		||||
    overflow-x: scroll;
 | 
			
		||||
    overflow-x: auto;
 | 
			
		||||
 | 
			
		||||
    td.sha,
 | 
			
		||||
    th.sha {
 | 
			
		||||
 
 | 
			
		||||
@@ -170,5 +170,5 @@
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#notification_div .tab.segment {
 | 
			
		||||
  overflow-x: scroll;
 | 
			
		||||
  overflow-x: auto;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
#git-graph-container {
 | 
			
		||||
  overflow-x: scroll;
 | 
			
		||||
  overflow-x: auto;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
  min-height: 350px;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user