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

Refactored Spacing component to use CSS variables #184

Merged
merged 2 commits into from
Nov 2, 2021

Conversation

EthanThatOneKid
Copy link
Owner

I refactored the <Spacing /> component to use CSS variables (https://svelte.dev/docs#style_props) instead of use:styleProps so that the component no longer relies on any JavaScript.

Attempts to close #158, at least temporarily.

@vercel
Copy link

vercel bot commented Nov 2, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ethanthatonekid/acm-csuf-site/8L6oH4BDRWZ8TZb4bGbVpUYrbrqx
✅ Preview: https://acm-csuf-site-git-fix-no-js-spacing-ethanthatonekid.vercel.app

@vercel vercel bot temporarily deployed to Preview November 2, 2021 05:48 Inactive
@EthanThatOneKid EthanThatOneKid merged commit 8c0c4f3 into main Nov 2, 2021
diamondburned added a commit that referenced this pull request Nov 3, 2021
This commit fixes the Spacing component's CSS variables being
incorrectly set. They didn't work prior to this change, because of a
regression from PR #184.
EthanThatOneKid pushed a commit that referenced this pull request Nov 3, 2021
This commit fixes the Spacing component's CSS variables being
incorrectly set. They didn't work prior to this change, because of a
regression from PR #184.
@EthanThatOneKid EthanThatOneKid added the bugfix A PR that fixes a bug label Dec 8, 2021
@jaasonw jaasonw deleted the fix/no-js-spacing branch February 21, 2022 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix A PR that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page margins broken without JavaScript
2 participants