From 121d2c912a8ac35070d074a7ded5759879846f3c Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 28 Oct 2019 09:52:23 +0100 Subject: [PATCH] stuff --- Plugins/BDFDB.js | 2 +- Plugins/GoogleTranslateOption/GoogleTranslateOption.plugin.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 => {