Skip to content

Commit

Permalink
refactor: modify the wrong spelling of css variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
imzbf committed Mar 5, 2023
1 parent 7b3cadf commit cba6abe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MdEditor/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}

::-webkit-scrollbar-thumb:vertical:active {
background-color: var(--md-scrollbar-thumb-avtive-color);
background-color: var(--md-scrollbar-thumb-active-color);
}

&-icon {
Expand Down
2 changes: 1 addition & 1 deletion MdEditor/styles/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
--md-scrollbar-bg-color: if(@isDark, #0f0f0f, #e2e2e2);
--md-scrollbar-thumb-color: if(@isDark, #2d2d2d, #0000004d);
--md-scrollbar-thumb-hover-color: if(@isDark, #3a3a3a, #00000059);
--md-scrollbar-thumb-avtive-color: if(@isDark, #3a3a3a, #00000061);
--md-scrollbar-thumb-active-color: if(@isDark, #3a3a3a, #00000061);
}
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ const onUploadImg = async (files, callback) => {
--md-scrollbar-bg-color: if(@isDark, #0f0f0f, #e2e2e2);
--md-scrollbar-thumb-color: if(@isDark, #2d2d2d, #0000004d);
--md-scrollbar-thumb-hover-color: if(@isDark, #3a3a3a, #00000059);
--md-scrollbar-thumb-avtive-color: if(@isDark, #3a3a3a, #00000061);
--md-scrollbar-thumb-active-color: if(@isDark, #3a3a3a, #00000061);
}
.md-editor {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ const onUploadImg = async (files, callback) => {
--md-scrollbar-bg-color: if(@isDark, #0f0f0f, #e2e2e2);
--md-scrollbar-thumb-color: if(@isDark, #2d2d2d, #0000004d);
--md-scrollbar-thumb-hover-color: if(@isDark, #3a3a3a, #00000059);
--md-scrollbar-thumb-avtive-color: if(@isDark, #3a3a3a, #00000061);
--md-scrollbar-thumb-active-color: if(@isDark, #3a3a3a, #00000061);
}
.md-editor {
Expand Down

0 comments on commit cba6abe

Please sign in to comment.