rusackas commented on issue #11472:
URL: 
https://github.com/apache/incubator-superset/issues/11472#issuecomment-719034954


   I think the mystery pixel(s) around the charts are my fault... I'll try to 
address it one way or another. 
   
   Story goes:
   • We wanted charts to show a nice blue border as a highlight when a scoped 
filter is in focus. Easy, right?
   • If you just _add_ the border with the highlight class, the box model 
changes, so the chart width/height changes, and stuff redraws. Ouch.
   • So I added a `transparent` border around the charts as the default state. 
It was _supposed_ to be a secret. :P That way only the border-color changes, 
without triggering any layout recalculation.


----------------------------------------------------------------
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.

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