1
0
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:
sveisvei 2016-10-25 10:55:39 +02:00 committed by Ivar Conradi Østhus
parent 786d66444c
commit 1470292198
2 changed files with 5 additions and 1 deletions

View File

@ -60,7 +60,10 @@ class AddFeatureToggleComponent extends Component {
</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
configuredStrategies={configuredStrategies}
removeStrategy={removeStrategy} />

View File

@ -21,6 +21,7 @@ class SelectedStrategies extends React.Component {
const removeStrategy = this.props.removeStrategy;
const configuredStrategies = this.props.configuredStrategies.map((s, index) => (
<Chip
style={{ marginRight: '10px' }}
key={`${index}-${s.name}`}
deletable
onDeleteClick={() => removeStrategy(s)}