Skip to content

Commit c619a34

Browse files
committed
config-ip-filter: Tighten layout. Reduce height of filter fields.
1 parent 8cfaf61 commit c619a34

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

build/app/view/netcreate/components/InfoPanel.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class InfoPanel extends UNISYS.Component {
200200
</NavLink>
201201
</NavItem>
202202
</Nav>
203-
<TabContent activeTab={this.state.activeTab} style={{overflow: 'hidden auto'}}>
203+
<TabContent activeTab={this.state.activeTab} style={{height:'100%',overflow: 'hidden auto', backgroundColor: 'rgba(0,0,0,0.1)'}}>
204204
<TabPane tabId="1">
205205
</TabPane>
206206
<TabPane tabId="2">

build/app/view/netcreate/components/filter/SelectFilter.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,14 @@ class SelectFilter extends React.Component {
125125
{keylabel}&nbsp;
126126
</Label>
127127
<Input type="select" value={operator}
128+
style={{ height:'1.5em', padding: '0'}}
128129
onChange={this.OnChangeOperator} bsSize="sm">
129130
{OPERATORS.map(op =>
130131
<option value={op.value} key={`${id}${op.value}`} size="sm">{op.label}</option>
131132
)}
132133
</Input>
133134
<Input type="select" value={value}
135+
style={{maxWidth:'12em', height:'1.5em', padding: '0'}}
134136
onChange={this.OnChangeValue} bsSize="sm">
135137
{options.map(op =>
136138
<option value={op} key={`${id}${op}`} size="sm">{op}</option>

build/app/view/netcreate/components/filter/StringFilter.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,14 @@ class StringFilter extends React.Component {
112112
{keylabel}&nbsp;
113113
</Label>
114114
<Input type="select" value={operator}
115+
style={{maxWidth:'12em', height:'1.5em', padding: '0'}}
115116
onChange={this.OnChangeOperator} bsSize="sm">
116117
{OPERATORS.map(op =>
117118
<option value={op.value} key={`${id}${op.value}`} size="sm">{op.label}</option>
118119
)}
119120
</Input>
120121
<Input type="text" value={value} placeholder="..."
122+
style={{maxWidth:'12em', height:'1.5em'}}
121123
onChange={this.OnChangeValue} bsSize="sm" />
122124
</FormGroup>
123125
</Form>

0 commit comments

Comments
 (0)