From aecec9c01dd23138a6a3a8554ac3f2aca7c49442 Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Wed, 15 Jul 2020 09:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B2=A1=E7=94=A8=E7=9A=84?= =?UTF-8?q?=20dom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/components/_result-box.scss | 4 ---- src/components/ResultBox.tsx | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/scss/components/_result-box.scss b/scss/components/_result-box.scss index 03b56788..4877a423 100644 --- a/scss/components/_result-box.scss +++ b/scss/components/_result-box.scss @@ -75,10 +75,6 @@ cursor: pointer; } - &-mid { - flex-grow: 1; - } - &-value { background: $ResultBox-value-bg; color: $ResultBox-value-color; diff --git a/src/components/ResultBox.tsx b/src/components/ResultBox.tsx index 9e9b794a..12846b5d 100644 --- a/src/components/ResultBox.tsx +++ b/src/components/ResultBox.tsx @@ -169,9 +169,7 @@ export class ResultBox extends React.Component { onFocus={this.handleFocus} onBlur={this.handleBlur} /> - ) : ( - - )} + ) : null} {children}