Skip to content

Instantly share code, notes, and snippets.

@robinp
Last active April 17, 2020 07:19
Show Gist options
  • Select an option

  • Save robinp/b5708332e904045d21a0c0d4a90584f3 to your computer and use it in GitHub Desktop.

Select an option

Save robinp/b5708332e904045d21a0c0d4a90584f3 to your computer and use it in GitHub Desktop.
Stylus script for to make github code review vertically more compact.
/* Remove below comment in Stylus */
// Install Stylus, a minimal permissions CSS-modifier: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne//
// Set to use regex match https://github.com/.*/pull/.*/files
// also https://github.com/.*/commit/.*#diff-.*
body {
font-size: 12px;
}
.blob-num {
line-height: normal;
}
.blob-code {
line-height: normal;
}
/* The evil add-comment button expands vertical space. */
.add-line-comment {
line-height: inherit;
height: auto;
}
@bzz
Copy link
Copy Markdown

bzz commented Feb 25, 2019

Before

before

After

after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment