diff --git a/frontend/src/Components/Form/KeyValueListInputItem.js b/frontend/src/Components/Form/KeyValueListInputItem.js index e63528f67..f6b82ed0f 100644 --- a/frontend/src/Components/Form/KeyValueListInputItem.js +++ b/frontend/src/Components/Form/KeyValueListInputItem.js @@ -87,16 +87,17 @@ class KeyValueListInputItem extends Component { /> - { - !isNew && -
+
+ { + isNew ? + null : -
- } + } +
); } diff --git a/frontend/src/Settings/Profiles/Quality/QualityProfileItem.css b/frontend/src/Settings/Profiles/Quality/QualityProfileItem.css index 4e3f4aae5..bf54fedc2 100644 --- a/frontend/src/Settings/Profiles/Quality/QualityProfileItem.css +++ b/frontend/src/Settings/Profiles/Quality/QualityProfileItem.css @@ -48,6 +48,7 @@ composes: buton from '~Components/Link/IconButton.css'; display: flex; + align-items: center; justify-content: center; flex-shrink: 0; margin-right: 5px; diff --git a/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.css b/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.css index 613a9b2d3..dad463b28 100644 --- a/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.css +++ b/frontend/src/Settings/Profiles/Quality/QualityProfileItemGroup.css @@ -74,6 +74,7 @@ composes: buton from '~Components/Link/IconButton.css'; display: flex; + align-items: center; justify-content: center; flex-shrink: 0; margin-right: 5px;