Skip to content

Instantly share code, notes, and snippets.

@TinoDidriksen
Created December 22, 2018 13:08
Embed
What would you like to do?
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