Skip to content

Instantly share code, notes, and snippets.

@TinoDidriksen
Created December 22, 2018 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TinoDidriksen/e8a631a3ea8fba1f8c5cd1bb9ca08ca4 to your computer and use it in GitHub Desktop.
Save TinoDidriksen/e8a631a3ea8fba1f8c5cd1bb9ca08ca4 to your computer and use it in GitHub Desktop.
Google Mail Compact
$(function() {
let s = document.createElement('style');
s.textContent = '.zA>.yX {padding-right: 0;} .G-atb {height: 38px; background: rgba(0,0,0,0.16); border-radius: 4px;} .x7 {background: #259;} .Wg {height: 38px;} .Dj {color: #fff;} .TN {height: auto;} .ar {border-radius: 0;} .zA>.a4W {padding-right: 0;} .zA>.yf {display: none;} .zA>.xW {max-width: auto; padding-left: 8px; padding-right: 8px;}';
document.head.appendChild(s);
});
@TinoDidriksen
Copy link
Author

Changes Google Mail's Compact density view from the not actually compact

to the much tighter

Can be used with various page modifier extensions.

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