Fix line numbers alignment
This commit is contained in:
		
							parent
							
								
									2bb3d3d49b
								
							
						
					
					
						commit
						2fcbefa09f
					
				| @ -72,7 +72,6 @@ pre[class*="language-"].line-numbers > code { | |||||||
| 	position: absolute; | 	position: absolute; | ||||||
| 	pointer-events: none; | 	pointer-events: none; | ||||||
| 	top: 0; | 	top: 0; | ||||||
| 	margin-top: -2px; |  | ||||||
| 	font-size: 100%; | 	font-size: 100%; | ||||||
| 	left: -3.8em; | 	left: -3.8em; | ||||||
| 	width: 3em; /* works for line-numbers below 1000 lines */ | 	width: 3em; /* works for line-numbers below 1000 lines */ | ||||||
| @ -113,6 +112,7 @@ pre[class*="language-"].line-numbers > code { | |||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	code { | 	code { | ||||||
|  | 		display: block; | ||||||
| 		color: inherit; | 		color: inherit; | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user