Last active
March 12, 2020 20:59
-
-
Save jazzyjackson/fec66b8cfad5550ae6973eda63633032 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gist tr { | |
display: flex; | |
} | |
.gist .blob-num { | |
/* widen the gutter to fit triple digits */ | |
width: 2.5em !important; | |
} | |
.gist .blob-num::before { | |
position: relative; | |
right: 0.5em; | |
} |
OK now with the 2.5em !important it works for 3 digit line numbers.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note this is a fix for gists with under 100 lines, 2 digits looks good, and I'm only posting small gists.