summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-15 18:04:38 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-01-16 09:55:09 +0000
commitd105b36453c6506a7a6a2f496f4825fe54f8843a (patch)
tree278b7e6629a1c2dd21c7cc02f9724336ca592db6
parent5272c1d22981a41053406c11b1544172924bcfce (diff)
Dropdown text cut off fix
Issue-ID: SDC-932 Change-Id: I3d97521c9afa7897e1185df8c553086dced527a1 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
-rw-r--r--openecomp-ui/resources/scss/bootstrap-cust/_forms.scss3
-rw-r--r--openecomp-ui/src/nfvo-components/input/validation/Input.jsx1
2 files changed, 4 insertions, 0 deletions
diff --git a/openecomp-ui/resources/scss/bootstrap-cust/_forms.scss b/openecomp-ui/resources/scss/bootstrap-cust/_forms.scss
index 4ec2341011..940f440ded 100644
--- a/openecomp-ui/resources/scss/bootstrap-cust/_forms.scss
+++ b/openecomp-ui/resources/scss/bootstrap-cust/_forms.scss
@@ -22,6 +22,9 @@
&:hover {
border-color: $gray;
}
+ &.custom-select {
+ padding-top: 3px;
+ }
}
label {
diff --git a/openecomp-ui/src/nfvo-components/input/validation/Input.jsx b/openecomp-ui/src/nfvo-components/input/validation/Input.jsx
index 9f0e9acca8..33cea933b5 100644
--- a/openecomp-ui/src/nfvo-components/input/validation/Input.jsx
+++ b/openecomp-ui/src/nfvo-components/input/validation/Input.jsx
@@ -99,6 +99,7 @@ class Input extends React.Component {
data-test-id={this.props['data-test-id']} />}
{type === 'select' &&
<FormControl onClick={ (e) => this.optionSelect(e) }
+ className='custom-select'
componentClass={type}
inputRef={(input) => this.input = input}
name={name} {...inputProps}