-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
refactor: Removes the CSS files from the Partition plugin #19521
refactor: Removes the CSS files from the Partition plugin #19521
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19521 +/- ##
==========================================
+ Coverage 66.59% 66.64% +0.04%
==========================================
Files 1678 1681 +3
Lines 64242 64255 +13
Branches 6539 6561 +22
==========================================
+ Hits 42784 42822 +38
+ Misses 19763 19732 -31
- Partials 1695 1701 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -274,7 +273,7 @@ function Icicle(element, props) { | |||
'<tr>' + | |||
'<td>' + | |||
'<div ' + | |||
`style='border: 2px solid ${atNode ? 'black' : 'transparent'};` + | |||
`style='border: 2px solid ${atNode ? 'white' : 'transparent'};` + |
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.
@michael-s-molina should we use the available white from the theme vars?
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.
Nice catch! I removed the condition and used the transparent border to always show the partition's colors. Previously, when the user was hovering over a partition, the leaf was white. Now the leaf obeys the color of the partition. I think it's more intuitive.
* refactor: Removes the CSS files from the Partition plugin * Fixes bullet * Always use the color of the partitions
SUMMARY
This PR removes the CSS files from the Partition plugin using Emotion. It also adjusts the styles to match theme configuration and existing components.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
Check that the plugin is very similar to the previous version. We may have color, font, and opacity differences due to theme adjustments.
ADDITIONAL INFORMATION