You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing in IE and in modern webkit browsers, I discovered few issues. The common culprit seems to be usage of table layout and the fact that relative positioning of elements is not always respected in this layout.
In IE line hightlight is not displayed at all, because of custom variables, which I guess is ok. If you set regular background-color you'll find that grvsc-line::before pseudoelement is mispositioned:
In modern Chrome, Safari and Edge, however, position: relative on display: table-row on grvsc-line is not respected, which results in width: 100% applied to grvsc-line::before being equal to the width of grvsc-container and not grvsc-line. It causes problems with highlight beyond horizontal overflow:
Hmm, you’re very correct... unfortunately, making .grvsc-code 100% wide when the code doesn’t take up the full width makes the gutter cells grow (they’re supposed to be flush left):
Hi, first of all, thanks for the awesome plugin!
While testing in IE and in modern webkit browsers, I discovered few issues. The common culprit seems to be usage of table layout and the fact that relative positioning of elements is not always respected in this layout.
grvsc-line::before
pseudoelement is mispositioned:position: relative
ondisplay: table-row
ongrvsc-line
is not respected, which results inwidth: 100%
applied togrvsc-line::before
being equal to the width ofgrvsc-container
and notgrvsc-line
. It causes problems with highlight beyond horizontal overflow:Those styles seems to work as a workaround:
Firefox has no issues:
Sources:
The text was updated successfully, but these errors were encountered: