mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:31:33 +00:00
Fix 1px terminal white edge (here be dragons, credits: dbalazs)
This commit is contained in:
parent
c8765708f9
commit
79c7f582e1
@ -130,6 +130,12 @@ $layouts: (
|
||||
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)}));
|
||||
}
|
||||
/* 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 */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user