Browse Source

Update CSS to overwrite refined-github

pull/3/head
Luke Childs 7 years ago
parent
commit
f3d90e457c
  1. 11
      src/content.js

11
src/content.js

@ -4,14 +4,9 @@ document.addEventListener('DOMContentLoaded', () => document.body.appendChild(st
// Set tab size styles
const setTabSizeStyles = size => style.innerHTML = `
.tab-size[data-tab-size='2'],
.tab-size[data-tab-size='4'],
.tab-size[data-tab-size='8'],
.inline-review-comment,
.gist table.lines,
table.diff-table,
.markdown-body pre {
tab-size: ${size} !important;
* {
-moz-tab-size: ${size} !important;
tab-size: ${size} !important;
}`;
// Set tab size from settings on load

Loading…
Cancel
Save