Update GoogleTranslateOption.plugin.js

This commit is contained in:
Mirco Wittrien 2021-06-01 16:26:43 +02:00
parent 47ee057edf
commit 1c54186eff
1 changed files with 4 additions and 2 deletions

View File

@ -174,7 +174,7 @@ module.exports = (_ => {
}
}].map(data => {
const icon = BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
className: "aaa",
className: BDFDB.disCN._googletranslateoptionconfigbutton,
onClick: data.onClick,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
width: 24,
@ -337,12 +337,14 @@ module.exports = (_ => {
Embed: "render"
}
};
this.css = `
${BDFDB.dotCN._googletranslateoptiontranslatebutton + BDFDB.dotCNS._googletranslateoptiontranslating + BDFDB.dotCN.textareaicon} {
color: var(--bdfdb-red) !important;
}
${BDFDB.dotCN._googletranslateoptionconfigbutton} {
margin: 2px 3px 0 6px;
}
`;
}