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

fix: add style block for Cf helper #456

Merged
merged 1 commit into from
Jul 21, 2022
Merged

fix: add style block for Cf helper #456

merged 1 commit into from
Jul 21, 2022

Conversation

redonkulus
Copy link
Contributor

@redonkulus redonkulus commented Jul 21, 2022

I confirm that this contribution is made under a BSD license and that I have the authority necessary to make this contribution on behalf of its copyright owner.


Description

When I changed the Cf helper class to remove the IE hacks, I removed the style block which apparently is required to add the :after and :before styles. Without this the Cf class was not added in the atomic output.

Motivation and Context

Missing Cf class breaks layouts.

How Has This Been Tested?

Tested on the example site by adding Cf class. Also tested that adding the generated Cf styles to a production site fixed the layout issue.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@vercel
Copy link

vercel bot commented Jul 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
acss-site ✅ Ready (Inspect) Visit Preview Jul 21, 2022 at 2:58PM (UTC)

@@ -258,6 +243,13 @@
.W\(9\/12\) {
width: 75%;
}
.Cf:before, .Cf:after {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Classes correctly added back

@redonkulus redonkulus merged commit 3618913 into master Jul 21, 2022
@redonkulus redonkulus deleted the fix-cf branch July 21, 2022 15:00
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.

1 participant