mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-10-31 03:12:55 +00:00 
			
		
		
		
	Fix 1px terminal white edge (here be dragons, credits: dbalazs)
This commit is contained in:
		| @@ -130,6 +130,12 @@ $layouts: ( | |||||||
|         grid-row-end: convert-ratio(nth($v, 4), $grid-rows-count); |         grid-row-end: convert-ratio(nth($v, 4), $grid-rows-count); | ||||||
|         max-width: calc(100vw / #{$grid-columns-count} * (#{convert-ratio(nth($v, 2), $grid-columns-count)} - #{convert-ratio(nth($v, 1), $grid-columns-count)})); |         max-width: calc(100vw / #{$grid-columns-count} * (#{convert-ratio(nth($v, 2), $grid-columns-count)} - #{convert-ratio(nth($v, 1), $grid-columns-count)})); | ||||||
|       } |       } | ||||||
|  |       /* A hack for Chrome, without this there is a white 1px strip on the left of the terminal */ | ||||||
|  |       /* You have been warned: don't try to understand this */ | ||||||
|  |       @if($sel == 'terminal-ide-web' & & $k == 'terminal') { | ||||||
|  |         transform: translateX(-1px); | ||||||
|  |       } | ||||||
|  |       /* End of hack */ | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user