-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
The modal title has the following default styling:
The keyboard shortcut modal wraps the title in a <span>
element, which is then styled with a bigger font size and bold font weight:
gutenberg/packages/edit-post/src/components/keyboard-shortcut-help-modal/index.js
Lines 72 to 75 in ee2d5c7
const title = ( | |
<span className="edit-post-keyboard-shortcut-help__title"> | |
{ __( 'Keyboard Shortcuts' ) } | |
</span> |
If the styling with the bigger font size and bold font weight is preferred, I'd suggest to make it the default in the Modal component instead of overriding it on a case by case basis. This way, all the modals (even the ones added by plugins) will have the same styling.
kjellr
Metadata
Metadata
Assignees
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.