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

clean up fcol-x lefovers from merge #631

Merged
merged 1 commit into from
May 27, 2024
Merged

clean up fcol-x lefovers from merge #631

merged 1 commit into from
May 27, 2024

Conversation

Aprillion
Copy link
Collaborator

@@ -43,7 +43,7 @@
--spacing-104: clamp(56px, 10.6vw, 104px);
--spacing-128: clamp(56px, 13.8vw, 128px);
--spacing-192: clamp(80px, 17vw, 192px);
--spacing-288: clamp(128px, 25.6vw, 288px);
--spacing-288: clamp(128px, 20vw, 288px);
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm still uncertain about making the spacing variables vw. I use a system based on 8 to make it clean. But let's try it and see.

I definitely think we should make the columns vw with clamp, which I believe is the case now!

@@ -498,7 +464,7 @@ svg {

/* defines the standard left and right margins */
.page-body {
padding: 0px 13.333vw;
padding: 0px var(--spacing-128);
Copy link
Contributor

Choose a reason for hiding this comment

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

This makes me uncomfortable but I'll merge it anyway

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

vw padding on clamped width means narrower content on larger screens... so the padding also needs to be clamped (though the "correct" value might need to be changed after design review on various screen sizes I guess .. I just picked a closest option to the 13vw)

@melissasamworth melissasamworth merged commit 6da8373 into stampy-redesign May 27, 2024
1 check failed
@melissasamworth melissasamworth deleted the col branch May 27, 2024 18:26
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