villebro commented on pull request #17372:
URL: https://github.com/apache/superset/pull/17372#issuecomment-977598573


   > I'm wondering if there's a way to style the MIN slider so the colors are 
inverted, here? That way the blue would appropriately distinguish the included 
range.
   
   @riahk I agree, this should be doable fairly easily. To achieve an inverse 
selection, I simply flipped around the the background colors of 
`ant-slider-rail` and `ant-slider-track` on the [Slider example 
page](https://ant.design/components/slider/) and the end result looks pretty ok:
   
   
![image](https://user-images.githubusercontent.com/33317356/143192212-4050d580-d53a-4e2a-90ac-08c80d34a2e4.png)
   
   Probably requires some additional fine tuning (the hovers need to also be 
updated), but in the absence of full support for this in the AntD component, 
this may be the most visually appealing solution for now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to