-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block Editor: Prevent block styles from leaking into an inner Warning
component
#40847
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
display: flex; | ||
flex-wrap: wrap; | ||
font-family: $default-font; | ||
font-size: $default-font-size; | ||
padding: 1em; | ||
|
||
// Block UI appearance. | ||
|
@@ -14,6 +15,10 @@ | |
line-height: $default-line-height; | ||
font-family: $default-font; | ||
font-size: $default-font-size; | ||
text-transform: none; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoids changes in "Typography > Letter case". |
||
letter-spacing: normal; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoids changes in "Typography > Letter spacing". |
||
font-weight: normal; | ||
font-style: normal; | ||
Comment on lines
+20
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoids changes in "Typography > Appearance". |
||
color: $gray-900; | ||
margin: 0; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to specify a fixed
font-size
here as the padding property for this class is relative to the font size.