diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index 2b951eb6fc..745b9c40d9 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -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 diff --git a/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js b/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js index 204da669ed..3f96409d7e 100644 --- a/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js +++ b/Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js @@ -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 => {