Skip to content

Commit 507e24c

Browse files
committed
Revert options positioning kram
1 parent fab9d17 commit 507e24c

File tree

1 file changed

+7
-4
lines changed
  • projects/packages/forms/src/blocks/contact-form

1 file changed

+7
-4
lines changed

projects/packages/forms/src/blocks/contact-form/editor.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418

419419
&[type="radio"]::before {
420420
border-radius: 50%;
421-
transform: translateY(0.15rem);
421+
transform: translateY(15%);
422422
}
423423
}
424424

@@ -446,12 +446,15 @@
446446

447447
.jetpack-option__type::before {
448448
display: block; /* display: flex causes baselines to not align */
449-
transform: translateY(0.15rem);
450449
}
451450
}
452451

453-
.rich-text {
454-
transform: translateY(-0.1rem);
452+
.jetpack-field-option.field-option-radio,
453+
.wp-block-jetpack-field-option-radio {
454+
455+
.jetpack-option__type {
456+
transform: translateY(5%); /* Small offset to compensate the slightly odd perceived alignment that's due to the circular shape */
457+
}
455458
}
456459
}
457460

0 commit comments

Comments
 (0)