diff --git a/frontend/public/components/modals/_modals.scss b/frontend/public/components/modals/_modals.scss index ded5fa30d9a..7e8fabf961c 100644 --- a/frontend/public/components/modals/_modals.scss +++ b/frontend/public/components/modals/_modals.scss @@ -93,35 +93,18 @@ margin-top: 0; } -.toleration-modal, .taint-modal { - &__field { - padding-top: 5px; - padding-right: 0; - } - - &__delete-icon { - height: 29px; - margin-top: 7px; - @media(max-width: $screen-sm-max) { - padding: 0; - } - } +.toleration-modal__field, .taint-modal__field { + padding-top: 5px; + padding-right: 0; +} - &__dropdown { - .btn { - height: 29px; - } - li { - height: 23px; - } - } +.toleration-modal__heading, .taint-modal__heading { + margin-bottom: 0; +} - .row { - margin-bottom: 16px; - } +.toleration-modal__row, .taint-modal__row { + margin-bottom: 16px; @media(max-width: $screen-sm-max) { - .row { - margin-bottom: 24px; - } + margin-bottom: 24px; } } diff --git a/frontend/public/components/modals/taints-modal.tsx b/frontend/public/components/modals/taints-modal.tsx index 2ab06cfde5b..27a47975c09 100644 --- a/frontend/public/components/modals/taints-modal.tsx +++ b/frontend/public/components/modals/taints-modal.tsx @@ -76,14 +76,14 @@ class TaintsModal extends PromiseComponent { {_.isEmpty(taints) ? : -
+
Key
Value
Effect
{_.map(taints, (c, i) => -
+
Key
this._change(e, i, 'key')} required /> diff --git a/frontend/public/components/modals/tolerations-modal.tsx b/frontend/public/components/modals/tolerations-modal.tsx index bd0c01c0721..8a3e6e547a1 100644 --- a/frontend/public/components/modals/tolerations-modal.tsx +++ b/frontend/public/components/modals/tolerations-modal.tsx @@ -110,7 +110,7 @@ class TolerationsModal extends PromiseComponent : -
+
Key
Operator
Value
@@ -119,7 +119,7 @@ class TolerationsModal extends PromiseComponent {_.map(tolerations, (t, i) => { const { key, operator, value, effect = '' } = t; - return
+ return
Key
this._change(e, i, 'key')} readOnly={!this._isEditable(t)} /> diff --git a/frontend/public/components/operator-lifecycle-manager/descriptors/spec/match-expressions.tsx b/frontend/public/components/operator-lifecycle-manager/descriptors/spec/match-expressions.tsx index d61ee77d9d1..fda125d8e0d 100644 --- a/frontend/public/components/operator-lifecycle-manager/descriptors/spec/match-expressions.tsx +++ b/frontend/public/components/operator-lifecycle-manager/descriptors/spec/match-expressions.tsx @@ -13,13 +13,13 @@ export const MatchExpressions: React.FC = (props) => { const changeValue = (value: string, index: number) => onChangeMatchExpressions(matchExpressions.map((exp, i) => i === index ? _.set(exp, 'value', value) : exp)); return -
+
Key
Operator
Value
- { props.matchExpressions.map((expression, i) =>
+ { props.matchExpressions.map((expression, i) =>
Key