From f334ce72e22ccf766e0099583915ddd380aa4a85 Mon Sep 17 00:00:00 2001 From: sweetcola <838689894@qq.com> Date: Mon, 23 Nov 2020 14:25:22 +0800 Subject: [PATCH] Simplify the interface --- src/components/LanguageSelection/LSelect.js | 1 - .../MultipleTranslate/MtPopup/index.js | 36 +++---- .../MultipleTranslate/MtPopup/style.css | 11 +-- src/components/MultipleTranslate/index.js | 62 ++++++------ src/components/MultipleTranslate/style.css | 12 ++- .../CustomizeBoardDisplay/index.js | 94 +++++++++---------- .../CustomizeBoardOptions/index.js | 6 +- src/components/Popup/style.css | 7 +- src/components/PopupHeader/index.js | 2 +- src/components/PopupHeader/style.css | 4 +- src/components/RawText/style.css | 3 - src/components/ResultBox/index.js | 4 +- src/components/ResultBox/style.css | 11 +-- src/components/TsHistory/style.css | 4 +- src/constants/defaultStyleVars.js | 8 +- src/entry/background/install.js | 5 + 16 files changed, 130 insertions(+), 140 deletions(-) diff --git a/src/components/LanguageSelection/LSelect.js b/src/components/LanguageSelection/LSelect.js index de185cb1..5bdcbf34 100644 --- a/src/components/LanguageSelection/LSelect.js +++ b/src/components/LanguageSelection/LSelect.js @@ -24,7 +24,6 @@ const LSelect = ({ isFrom, onChange, disableSelect, from, to, options }) => { return (