Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions github-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -10576,6 +10576,9 @@
.blob-code, .blob-code-inner {
color: var(--ghd-code-color, #ccc) !important;
}
.cm-tab {
overflow: hidden !important;
}
}
@-moz-document regexp("^https://www\.zuora\.com.*github\.com.*$") {
/* Styles the payment form iframe */
Expand Down
24 changes: 24 additions & 0 deletions github-dark.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,36 +160,57 @@
pre, .highlight, .diff-table, .tab-size {
tab-size: 2 !important;
-moz-tab-size: 2 !important;
}
.cm-tab {
width: 2ch !important;
} EOT;
3 "3" <<<EOT
pre, .highlight, .diff-table, .tab-size {
tab-size: 3 !important;
-moz-tab-size: 3 !important;
}
.cm-tab {
width: 3ch !important;
} EOT;
4 "4" <<<EOT
pre, .highlight, .diff-table, .tab-size {
tab-size: 4 !important;
-moz-tab-size: 4 !important;
}
.cm-tab {
width: 4ch !important;
} EOT;
5 "5" <<<EOT
pre, .highlight, .diff-table, .tab-size {
tab-size: 5 !important;
-moz-tab-size: 5 !important;
}
.cm-tab {
width: 5ch !important;
} EOT;
6 "6" <<<EOT
pre, .highlight, .diff-table, .tab-size {
tab-size: 6 !important;
-moz-tab-size: 6 !important;
}
.cm-tab {
width: 6ch !important;
} EOT;
7 "7" <<<EOT
pre, .highlight, .diff-table, .tab-size {
tab-size: 7 !important;
-moz-tab-size: 7 !important;
}
.cm-tab {
width: 7ch !important;
} EOT;
8 "8" <<<EOT
pre, .highlight, .diff-table, .tab-size {
tab-size: 8 !important;
-moz-tab-size: 8 !important;
}
.cm-tab {
width: 8ch !important;
} EOT;
}
@advanced text font-choice "Code Font" "Menlo"
Expand Down Expand Up @@ -10036,6 +10057,9 @@
.blob-code, .blob-code-inner {
color: var(--ghd-code-color, #ccc) !important;
}
.cm-tab {
overflow: hidden !important;
}
}
@-moz-document regexp("^https://www\.zuora\.com.*github\.com.*$") {
/* Styles the payment form iframe */
Expand Down
3 changes: 3 additions & 0 deletions tools/usercss.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ function makeTabs(css) {
pre, .highlight, .diff-table, .tab-size {
tab-size: ${tab} !important;
-moz-tab-size: ${tab} !important;
}
.cm-tab {
width: ${tab}ch !important;
} EOT;`);
});
return css.replace(" {{tab-sizes}}", tabs.join("\n"));
Expand Down