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: css: scope normalize css reset to octuple components #283

Conversation

dkilgore-eightfold
Copy link
Contributor

SUMMARY:

Scopes normalize.css reset to components, keeps 2 low-risk, high ROI global resets.

Prior to this change https://github.com/necolas/normalize.css was being applied globally. This may contribute to css collisions within host apps. Scoping these resets will ensure only Octuple components will benefit.

Also adds vertical margins to menu items.

JIRA TASK (Eightfold Employees Only):

ENG-26154

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

Pull the pr and do yarn, then yarn install, verify all components using Storybook.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 2, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7443f7a:

Sandbox Source
React Configuration
Vanilla Configuration

Copy link
Contributor

@jhoward-eightfold jhoward-eightfold left a comment

Choose a reason for hiding this comment

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

disregard my question regarding button class. i see where it came from and that it gets hashed. If you are good with this, carry on.

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@2ef7609). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #283   +/-   ##
=======================================
  Coverage        ?   88.39%           
=======================================
  Files           ?      385           
  Lines           ?    10419           
  Branches        ?     3523           
=======================================
  Hits            ?     9210           
  Misses          ?     1189           
  Partials        ?       20           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ef7609...6a24336. Read the comment docs.

@dkilgore-eightfold dkilgore-eightfold merged commit 1eeb0cd into EightfoldAI:main Aug 2, 2022
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.

3 participants