-
Couldn't load subscription status.
- Fork 153
8401 fix tagset tag spacing #8547
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
8401 fix tagset tag spacing #8547
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for ibm-products-web-components ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| // The block part of our conventional BEM class names (blockClass__E--M). | ||
| $block-class: #{c4p-settings.$pkg-prefix}--tag-overflow; | ||
| $block-class-overflow: #{$block-class}-popover; | ||
| $block-class: #{$pkg-prefix}--tag-overflow; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced c4p-settings.$pkg-prefix with $pkg-prefix to be more inline with other files.
| $block-class: #{c4p-settings.$pkg-prefix}--tag-overflow; | ||
| $block-class-overflow: #{$block-class}-popover; | ||
| $block-class: #{$pkg-prefix}--tag-overflow; | ||
| $block-class-popover: #{$block-class}-popover; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matched popover with popover.
| }; | ||
| const defaultPet = { | ||
| patientId: crypto.randomUUID(), | ||
| patientId: Math.floor(Math.random() * 100000000000), |
Check failure
Code scanning / CodeQL
Insecure randomness High
Math.random()
This reverts commit e8abbd0.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #8547 +/- ##
==========================================
+ Coverage 79.38% 85.49% +6.11%
==========================================
Files 474 364 -110
Lines 20340 17294 -3046
Branches 5006 4061 -945
==========================================
- Hits 16146 14785 -1361
+ Misses 4194 2509 -1685
🚀 New features to boost your workflow:
|
|
Horrendous merge conflict. Closing and recreating PR. |
Closes #
Fixes a previous build(deps) update #8347 that broke spacing between tags in tagsets.
NOTE: There were inconsistencies in spacing between tags in previous builds, both horizontally and vertically. Although
4px marginswere applied correctly, they are not 100% compatible with flexbox. Because of this sometimes themarginsdid not overlap properly and resulted in8pxof space. Everything in this PR has been normalized to4px.What did you change?
Products, React:
packages/ibm-products-styles/src/components/TagSet/_tag-set.scsspackages/ibm-products-styles/src/components/FilterSummary/_filter-summary.scsspackages/ibm-products-styles/src/components/TagOverflow/_tag-overflow.scsspackages/ibm-products-styles/src/components/PageHeader/_page-header.scssProducts, Web Components
packages/ibm-products-web-components/src/components/page-header/_story-assets/set-of-tags/set-of-tags.scsspackages/ibm-products-web-components/examples/set-of-tags/src/set-of-tags.scsspackages/ibm-products-web-components/examples/set-of-users/src/set-of-users.scsspackages/ibm-products-web-components/src/utilities/overflow-handler/story-styles.scssHow did you test and verify your work?
PR Checklist
As the author of this PR, before marking ready for review, confirm you:
Wrote passing tests that cover this changeAddressed any impact on accessibility (a11y)Tested for cross-browser consistencyMore details can be found in the pull request section of
our contributing docs.
Screenshots
Previous builds on the left, latest changes on the right.