chore: rename code fold element class name

This commit is contained in:
EnixCoda 2021-09-21 21:07:12 +08:00
parent 6d6d04465d
commit c137eeff01
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ const tableSelector = `.blob-wrapper table`
const selectorOfLineNumber = `.blob-num`
const selectorOfLineContent = `.blob-code`
const theCSSClassForToggleElementOnActive = 'active'
const theCSSClassForToggleElementOnActive = 'gitako-code-fold-active'
function init() {
type LineNumber = number // alias
const blocks: LineNumber[] = [] // startLine -> exclusiveEndLine

View file

@ -144,7 +144,7 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
);
}
&.active {
&.gitako-code-fold-active {
.gitako-code-fold-handler {
&::before {
transform: rotate(-90deg);
@ -655,7 +655,7 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
@include interactive-background(
var(--gitako-bg-primary),
var(--gitako-bg-tertiary),
var(--gitako-bg-secondary),
var(--gitako-bg-secondary)
);
&.disabled {