diff --git a/.js/github.com.js b/.js/github.com.js index d2d70d4..ff8d68a 100644 --- a/.js/github.com.js +++ b/.js/github.com.js @@ -116,4 +116,17 @@ let repoUrl = $("div.repohead-details-container > h1.public > strong[itemprop=na #readme.blob #readme-edit-link { display: none; } #readme-edit-link:hover { opacity: 1; } `); +})(); + +// tab size 4 +(function() { + addStyle(` + .tab-size[data-tab-size='2'], + .tab-size[data-tab-size='4'], + .tab-size[data-tab-size='8'], + .inline-review-comment, + .gist table.lines { + tab-size: 4 !important; + } + `); })(); \ No newline at end of file