check(i, isChecked)}
+ __nextHasNoMarginBottom
/>
{labels.primary ? (
diff --git a/assets/js/synonyms/css/edit-panel.css b/assets/js/synonyms/css/edit-panel.css
index 4973fc790..978e8727a 100644
--- a/assets/js/synonyms/css/edit-panel.css
+++ b/assets/js/synonyms/css/edit-panel.css
@@ -11,5 +11,14 @@
padding-bottom: 4px;
padding-top: 4px;
}
+
+ & .components-form-token-field__help {
+ margin-bottom: 1em;
+ margin-top: 1em;
+ }
+ }
+
+ & .components-text-control__input {
+ margin-bottom: 1em;
}
}
diff --git a/assets/js/weighting/components/field.js b/assets/js/weighting/components/field.js
index 814542eb5..576d6fdbd 100644
--- a/assets/js/weighting/components/field.js
+++ b/assets/js/weighting/components/field.js
@@ -60,6 +60,7 @@ export default ({ label, onChange, onDelete, value, showTooltip }) => {
checked={enabled}
label={__('Searchable', 'elasticpress')}
onChange={onChangeSearchable}
+ __nextHasNoMarginBottom
/>
@@ -70,6 +71,7 @@ export default ({ label, onChange, onDelete, value, showTooltip }) => {
min={1}
onChange={onChangeWeight}
value={weight}
+ __nextHasNoMarginBottom
/>
diff --git a/assets/js/weighting/components/group.js b/assets/js/weighting/components/group.js
index faf9d38c8..effc26036 100644
--- a/assets/js/weighting/components/group.js
+++ b/assets/js/weighting/components/group.js
@@ -184,6 +184,7 @@ export default ({ group, postType }) => {
onKeyDown={onKeyDown}
placeholder={__('Metadata key', 'elasticpress')}
value={toAdd}
+ __nextHasNoMarginBottom
/>