-
Notifications
You must be signed in to change notification settings - Fork 360
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
Club: Refining spacing #6375
Club: Refining spacing #6375
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 |
---|---|---|
|
@@ -366,11 +366,6 @@ | |
"style": "solid", | ||
"width": "0" | ||
}, | ||
"spacing": { | ||
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. Just want to make sure this is intentional to remove this? I think it looks better but wasn't sure if it's a part of this PR. 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. Yep, it's intentional double spacing at the left of the quote. |
||
"padding": { | ||
"left": "var(--wp--custom--gap--horizontal)" | ||
} | ||
}, | ||
"typography": { | ||
"fontSize": "var(--wp--preset--font-size--large)", | ||
"fontStyle": "normal" | ||
|
@@ -411,8 +406,15 @@ | |
}, | ||
"elements": { | ||
"button": { | ||
"spacing": { | ||
"padding": { | ||
"top": "1rem", | ||
"bottom": "1rem" | ||
} | ||
}, | ||
"typography": { | ||
"fontSize": "var(--wp--preset--font-size--large)" | ||
"fontSize": "var(--wp--preset--font-size--large)", | ||
"lineHeight": "1.25" | ||
} | ||
} | ||
} | ||
|
@@ -605,7 +607,7 @@ | |
} | ||
}, | ||
"spacing": { | ||
"blockGap": "30px" | ||
"blockGap": "clamp(1rem, calc(1rem + ((1vw - 0.48rem) * 5.7692)), 2rem)" | ||
}, | ||
"typography": { | ||
"fontFamily": "var(--wp--preset--font-family--spacemono)", | ||
|
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.
I noticed on mobile this increase in font size may easily cut off the word / push beyond the width of the screen:
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 are using the font size from the design there.