diff --git a/packages/components/src/modal/style.scss b/packages/components/src/modal/style.scss
index 99a76a85598c7c..2058155f1f132b 100644
--- a/packages/components/src/modal/style.scss
+++ b/packages/components/src/modal/style.scss
@@ -81,8 +81,8 @@
}
.components-modal__header-heading {
- font-size: 1em;
- font-weight: 400;
+ font-size: 1rem;
+ font-weight: 600;
}
h1 {
diff --git a/packages/edit-post/src/components/keyboard-shortcut-help-modal/index.js b/packages/edit-post/src/components/keyboard-shortcut-help-modal/index.js
index 0eae08393a7cb8..810519ccd3a493 100644
--- a/packages/edit-post/src/components/keyboard-shortcut-help-modal/index.js
+++ b/packages/edit-post/src/components/keyboard-shortcut-help-modal/index.js
@@ -69,12 +69,6 @@ const ShortcutSection = ( { title, shortcuts } ) => (
);
export function KeyboardShortcutHelpModal( { isModalActive, toggleModal } ) {
- const title = (
-
- { __( 'Keyboard Shortcuts' ) }
-
- );
-
return (
diff --git a/packages/edit-post/src/components/keyboard-shortcut-help-modal/style.scss b/packages/edit-post/src/components/keyboard-shortcut-help-modal/style.scss
index 9bb49eee5c1890..da56dc87045828 100644
--- a/packages/edit-post/src/components/keyboard-shortcut-help-modal/style.scss
+++ b/packages/edit-post/src/components/keyboard-shortcut-help-modal/style.scss
@@ -1,8 +1,4 @@
.edit-post-keyboard-shortcut-help {
- &__title {
- font-size: 1rem;
- font-weight: 600;
- }
&__section {
margin: 0 0 2rem 0;
diff --git a/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap b/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap
index 65d9ef3a52aafe..fe522a985d3b9a 100644
--- a/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap
+++ b/packages/edit-post/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap
@@ -14,13 +14,7 @@ exports[`KeyboardShortcutHelpModal should match snapshot when the modal is activ
className="edit-post-keyboard-shortcut-help"
closeLabel="Close"
onRequestClose={[Function]}
- title={
-
- Keyboard Shortcuts
-
- }
+ title="Keyboard Shortcuts"
>
{ __( 'Options' ) } }
+ title={ __( 'Options' ) }
closeLabel={ __( 'Close' ) }
onRequestClose={ closeModal }
>
diff --git a/packages/edit-post/src/components/options-modal/style.scss b/packages/edit-post/src/components/options-modal/style.scss
index 28916c0be35e59..62b827d104ecdc 100644
--- a/packages/edit-post/src/components/options-modal/style.scss
+++ b/packages/edit-post/src/components/options-modal/style.scss
@@ -1,9 +1,4 @@
.edit-post-options-modal {
- &__title {
- font-size: 1rem;
- font-weight: 600;
- }
-
&__section {
margin: 0 0 2rem 0;
}
diff --git a/packages/edit-post/src/components/options-modal/test/__snapshots__/index.js.snap b/packages/edit-post/src/components/options-modal/test/__snapshots__/index.js.snap
index 94d989e492e4a0..a81252b32b95fb 100644
--- a/packages/edit-post/src/components/options-modal/test/__snapshots__/index.js.snap
+++ b/packages/edit-post/src/components/options-modal/test/__snapshots__/index.js.snap
@@ -4,13 +4,7 @@ exports[`OptionsModal should match snapshot when the modal is active 1`] = `
- Options
-
- }
+ title="Options"
>