mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: rename code fold element class name
This commit is contained in:
parent
6d6d04465d
commit
c137eeff01
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue