From 9419b2d29e9d12cc1abecf454e5e78a42ae181da Mon Sep 17 00:00:00 2001 From: trungnx Date: Wed, 26 Aug 2020 18:14:28 +0700 Subject: [PATCH 1/2] Fix integration CSS defects --- src/assets/css/advance_config.scss | 14 +------------- src/assets/css/commons/commons.scss | 4 ++++ .../TransactionCommon/AdvanceConfigLayout.js | 2 +- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/src/assets/css/advance_config.scss b/src/assets/css/advance_config.scss index c4e599d0e..d2d79419c 100644 --- a/src/assets/css/advance_config.scss +++ b/src/assets/css/advance_config.scss @@ -150,19 +150,7 @@ &__checkbox { border-top: 1px solid transparent; margin-top: 15px; - - .common__checkbox-text { - margin-top: 16px; - - > span { - margin-right: 7px; - } - - img { - top: 2px; - position: relative; - } - } + padding-top: 13px; } .__react_component_tooltip { diff --git a/src/assets/css/commons/commons.scss b/src/assets/css/commons/commons.scss index 1a91f325a..de0c06bcc 100644 --- a/src/assets/css/commons/commons.scss +++ b/src/assets/css/commons/commons.scss @@ -363,6 +363,10 @@ position: relative; top: 2px; left: 7px; + + img { + vertical-align: initial; + } } } diff --git a/src/js/components/TransactionCommon/AdvanceConfigLayout.js b/src/js/components/TransactionCommon/AdvanceConfigLayout.js index a1328c0ae..10f504bb6 100644 --- a/src/js/components/TransactionCommon/AdvanceConfigLayout.js +++ b/src/js/components/TransactionCommon/AdvanceConfigLayout.js @@ -48,7 +48,7 @@ export default class AdvanceConfigLayout extends Component {