mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	add stylelint-stylistic (#25285)
				
					
				
			Add [stylelint-stylistic](https://github.com/elirasza/stylelint-stylistic), autofix all issues with two manual tweaks. This restores all the stylistic rules removed in Stylelint 15.
This commit is contained in:
		@@ -1844,7 +1844,6 @@
 | 
			
		||||
  border: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@media (max-width: 991.98px) {
 | 
			
		||||
  .diff-file-box {
 | 
			
		||||
    scroll-margin-top: 77px; /* match .repository .diff-detail-box */
 | 
			
		||||
@@ -1854,9 +1853,9 @@
 | 
			
		||||
/* TODO: this can potentially be made "global" by removing the class prefix */
 | 
			
		||||
.diff-file-box .ui.attached.header,
 | 
			
		||||
.diff-file-box .ui.attached.table {
 | 
			
		||||
  margin: 0; /* remove fomantic negative margins */;
 | 
			
		||||
  width: initial; /* remove fomantic over 100% width */;
 | 
			
		||||
  max-width: initial; /* remove fomantic over 100% width */;
 | 
			
		||||
  margin: 0; /* remove fomantic negative margins */
 | 
			
		||||
  width: initial; /* remove fomantic over 100% width */
 | 
			
		||||
  max-width: initial; /* remove fomantic over 100% width */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.repository .diff-stats {
 | 
			
		||||
@@ -1908,7 +1907,6 @@
 | 
			
		||||
  flex: 1
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.repository.packages .empty {
 | 
			
		||||
  padding-top: 70px;
 | 
			
		||||
  padding-bottom: 100px;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user