ktmud edited a comment on pull request #11602:
URL: 
https://github.com/apache/incubator-superset/pull/11602#issuecomment-722969097


   Another idea is to use dynamic font size based on text length. We already do 
that for [some 
visualizations](https://github.com/apache-superset/superset-ui/blob/master/plugins/legacy-preset-chart-big-number/src/BigNumber/BigNumber.tsx#L145-L151)
 and there is a utility function in `superset-ui` readily available to use.
   
   Personally I feel it makes more sense to wrap the title instead of 
truncating it because users put in long titles for a reason---if they really 
feel it looks bad, they would choose a shorter title already.


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