Skip to content
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

Content: adjust max-width after margin to padding change shrunk width #5450

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dougmacknz
Copy link
Contributor

@dougmacknz dougmacknz commented Jan 13, 2025

Why

We changed our Page Layout Content to use padding instead of margin which shrunk the content width

What

  • Increase our page layout max width to cater for the change from margin to padding
  • Update TitleBlockZen to also use padding because it uses the same design token for page width

Copy link

changeset-bot bot commented Jan 13, 2025

🦋 Changeset detected

Latest commit: 42528af

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@kaizen/design-tokens Patch
@kaizen/components Patch
@kaizen/tailwind Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dougmacknz dougmacknz marked this pull request as ready for review January 13, 2025 22:40
@dougmacknz dougmacknz requested a review from a team as a code owner January 13, 2025 22:40
Copy link
Contributor

✨ Here is your branch preview! ✨

Last updated for commit 42528af: Content: adjust max-width after margin to padding change shrunk width

@@ -1,6 +1,6 @@
/** THIS IS AN AUTOGENERATED FILE **/

$layout-content-max-width: 1392px;
$layout-content-max-width: 1536px;
$layout-content-max-width-with-sidebar: 1080px;
$layout-content-side-margin: 72px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be called $layout-content-side-padding now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants