mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
small layout adjusts
This commit is contained in:
parent
786d66444c
commit
1470292198
@ -60,7 +60,10 @@ class AddFeatureToggleComponent extends Component {
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<strong>Strategies</strong>
|
<div>
|
||||||
|
<h5 style={{ borderBottom: '1px solid rgba(0, 0, 0, 0.12)', paddingBottom: '5px', marginBottom: '10px' }}>Strategies:</h5>
|
||||||
|
</div>
|
||||||
|
|
||||||
<SelectedStrategies
|
<SelectedStrategies
|
||||||
configuredStrategies={configuredStrategies}
|
configuredStrategies={configuredStrategies}
|
||||||
removeStrategy={removeStrategy} />
|
removeStrategy={removeStrategy} />
|
||||||
|
@ -21,6 +21,7 @@ class SelectedStrategies extends React.Component {
|
|||||||
const removeStrategy = this.props.removeStrategy;
|
const removeStrategy = this.props.removeStrategy;
|
||||||
const configuredStrategies = this.props.configuredStrategies.map((s, index) => (
|
const configuredStrategies = this.props.configuredStrategies.map((s, index) => (
|
||||||
<Chip
|
<Chip
|
||||||
|
style={{ marginRight: '10px' }}
|
||||||
key={`${index}-${s.name}`}
|
key={`${index}-${s.name}`}
|
||||||
deletable
|
deletable
|
||||||
onDeleteClick={() => removeStrategy(s)}
|
onDeleteClick={() => removeStrategy(s)}
|
||||||
|
Loading…
Reference in New Issue
Block a user