This commit is contained in:
Mirco Wittrien 2019-10-28 09:52:23 +01:00
parent 9324f26b51
commit 121d2c912a
2 changed files with 3 additions and 3 deletions

View File

@ -5712,7 +5712,7 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins || {}, cleanUps: BDFDB && BDFDB
children: BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.popoutthemedpopout,
style: {
padding: parseInt(this.props.padding) ? `0 ${parseInt(this.props.padding)}px` : null,
padding: parseInt(this.props.padding) : null,
width: parseInt(this.props.width) || null
},
children: this.props.children

View File

@ -325,7 +325,7 @@ class GoogleTranslateOption {
}
let popoutelements = [];
popoutelements.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, {
className: BDFDB.disCNS.margintop8 + BDFDB.disCN.marginbottom8,
className: BDFDB.disCN.marginbottom8,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsLabel, {
label: `Words starting with "!" will be ignored`
})
@ -336,7 +336,7 @@ class GoogleTranslateOption {
popoutelements = popoutelements.concat(this.createSelects(true));
popoutelements.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsItem, {
type: "Switch",
className: BDFDB.disCN.marginbottom20,
className: BDFDB.disCN.marginbottom8,
label: "Translate:",
value: this.translating,
onChange: value => {