Skip to content

Commit 24edcd7

Browse files
committed
config-ip-filter: Hyphenate and remove padding so node and edge labels don't overlap fields.
1 parent b5f23c8 commit 24edcd7

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ class EdgeEditor extends UNISYS.Component {
922922
onSubmit={this.onSubmit}>
923923
<FormText onClick={this.onEdgeClick}><b>EDGE {formData.id}</b></FormText>
924924
<FormGroup row>
925-
<Col sm={3}>
925+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
926926
<Label for="source" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{edgePrompts.source.label}<span className="tooltiptext">{this.helpText(edgePrompts.source)}</span></Label>
927927
</Col>
928928
<Col sm={9}>
@@ -943,7 +943,7 @@ class EdgeEditor extends UNISYS.Component {
943943
</Col>
944944
</FormGroup>
945945
<FormGroup row hidden={edgePrompts.type.hidden}>
946-
<Col sm={3}>
946+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
947947
<Label for="relationship" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{edgePrompts.type.label}<span className="tooltiptext">{this.helpText(edgePrompts.type)}</span></Label>
948948
</Col>
949949
<Col sm={9}>
@@ -959,7 +959,7 @@ class EdgeEditor extends UNISYS.Component {
959959
</Col>
960960
</FormGroup>
961961
<FormGroup row>
962-
<Col sm={3}>
962+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
963963
<Label for="nodeLabel" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{edgePrompts.target.label}<span className="tooltiptext">{this.helpText(edgePrompts.target)}</span></Label>
964964
</Col>
965965
<Col sm={9}>
@@ -988,7 +988,7 @@ class EdgeEditor extends UNISYS.Component {
988988
</Col>
989989
</FormGroup>
990990
<FormGroup row hidden={edgePrompts.category.hidden}>
991-
<Col sm={3}>
991+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
992992
<Label for="category" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{edgePrompts.category.label}<span className="tooltiptext">{this.helpText(edgePrompts.category)}</span></Label>
993993
</Col>
994994
<Col sm={9}>
@@ -999,7 +999,7 @@ class EdgeEditor extends UNISYS.Component {
999999
/>
10001000
</Col>
10011001
</FormGroup><FormGroup row hidden={edgePrompts.citation.hidden}>
1002-
<Col sm={3}>
1002+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
10031003
<Label for="citation" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{edgePrompts.citation.label}<span className="tooltiptext">{this.helpText(edgePrompts.citation)}</span></Label>
10041004
</Col>
10051005
<Col sm={9}>
@@ -1011,7 +1011,7 @@ class EdgeEditor extends UNISYS.Component {
10111011
</Col>
10121012
</FormGroup>
10131013
<FormGroup row hidden={edgePrompts.notes.hidden}>
1014-
<Col sm={3}>
1014+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
10151015
<Label for="notes" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{edgePrompts.notes.label}<span className="tooltiptext">{this.helpText(edgePrompts.notes)}</span></Label>
10161016
</Col>
10171017
<Col sm={9}>
@@ -1025,7 +1025,7 @@ class EdgeEditor extends UNISYS.Component {
10251025
</Col>
10261026
</FormGroup>
10271027
<FormGroup row hidden={edgePrompts.info.hidden}>
1028-
<Col sm={3}>
1028+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
10291029
<Label for="info" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{edgePrompts.info.label}<span className="tooltiptext">{this.helpText(edgePrompts.info)}</span></Label>
10301030
</Col>
10311031
<Col sm={9}>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ class NodeSelector extends UNISYS.Component {
934934
onSubmit={this.onSubmit}>
935935
<FormText><b>NODE {this.state.formData.id||''}</b></FormText>
936936
<FormGroup row>
937-
<Col sm={3}>
937+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
938938
<Label for="nodeLabel" className="tooltipAnchor small text-muted">
939939
<i className="fas fa-question-circle"></i>{nodePrompts.label.label}<span className="tooltiptext">{this.helpText(nodePrompts.label)}</span></Label>
940940
</Col>
@@ -957,7 +957,7 @@ class NodeSelector extends UNISYS.Component {
957957
<NodeDetail/>
958958
</div>
959959
<FormGroup row hidden={nodePrompts.type.hidden}>
960-
<Col sm={3}>
960+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
961961
<Label for="type" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{nodePrompts.type.label}<span className="tooltiptext">{this.helpText(nodePrompts.type)}</span></Label>
962962
</Col>
963963
<Col sm={9}>
@@ -973,7 +973,7 @@ class NodeSelector extends UNISYS.Component {
973973
</Col>
974974
</FormGroup>
975975
<FormGroup row hidden={nodePrompts.notes.hidden}>
976-
<Col sm={3} style={{hyphens: 'auto'}}>
976+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
977977
<Label for="notes" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{nodePrompts.notes.label}<span className="tooltiptext">{this.helpText(nodePrompts.notes)}</span></Label>
978978
</Col>
979979
<Col sm={9}>
@@ -987,7 +987,7 @@ class NodeSelector extends UNISYS.Component {
987987
</Col>
988988
</FormGroup>
989989
<FormGroup row hidden={nodePrompts.info.hidden}>
990-
<Col sm={3}>
990+
<Col sm={3} style={{hyphens: 'auto'}} className="pr-0">
991991
<Label for="info" className="tooltipAnchor small text-muted"><i className="fas fa-question-circle"></i>{nodePrompts.info.label}<span className="tooltiptext">{this.helpText(nodePrompts.info)}</span></Label>
992992
</Col>
993993
<Col sm={9}>

0 commit comments

Comments
 (0)