Skip to content

Commit

Permalink
fix: move the styles inside the ql-toolbar to avoid style pollution
Browse files Browse the repository at this point in the history
  • Loading branch information
kagol committed Nov 8, 2024
1 parent 29b5c4e commit 46a6ba1
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions packages/fluent-editor/src/assets/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -387,30 +387,30 @@ $arrowWidth: 5px; // 下拉框箭头宽度
}
}
}
}

button,
span.ql-picker-label {
&:hover,
&.ql-active {
button,
span.ql-picker-label {
&:hover,
&.ql-active {
@include toolbarSvgColor {
fill: #5e7ce0;
}
@include toolbarFontIconColor {
color: #5e7ce0;
}
}
@include toolbarSvgColor {
fill: #5e7ce0;
fill: #252b3a;
}
@include toolbarFontIconColor {
color: #5e7ce0;
color: #252b3a;
}
}
@include toolbarSvgColor {
fill: #252b3a;
}
@include toolbarFontIconColor {
color: #252b3a;
}

&.ql-disabled {
@include toolbarSvgColor {
fill: #adb0b8;
cursor: not-allowed;
&.ql-disabled {
@include toolbarSvgColor {
fill: #adb0b8;
cursor: not-allowed;
}
}
}
}
Expand Down

0 comments on commit 46a6ba1

Please sign in to comment.