mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Prevent accidential selection of line numbers in code view (#1860)
This commit is contained in:
		@@ -1404,6 +1404,10 @@ footer .ui.language .menu {
 | 
			
		||||
  color: #999;
 | 
			
		||||
  background: #f5f5f5;
 | 
			
		||||
  width: 1%;
 | 
			
		||||
  -moz-user-select: none;
 | 
			
		||||
  -ms-user-select: none;
 | 
			
		||||
  -webkit-user-select: none;
 | 
			
		||||
  user-select: none;
 | 
			
		||||
}
 | 
			
		||||
.repository.file.list #file-content .code-view .lines-num span {
 | 
			
		||||
  line-height: 20px;
 | 
			
		||||
 
 | 
			
		||||
@@ -274,6 +274,10 @@
 | 
			
		||||
					color: #999;
 | 
			
		||||
					background: #f5f5f5;
 | 
			
		||||
					width: 1%;
 | 
			
		||||
					-moz-user-select: none;
 | 
			
		||||
					-ms-user-select: none;
 | 
			
		||||
					-webkit-user-select: none;
 | 
			
		||||
					user-select: none;
 | 
			
		||||
 | 
			
		||||
					span {
 | 
			
		||||
						line-height: 20px;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user