You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pivot Table doesn't consider metric currency for column width #31377
When adding metrics with currency to a pivot table chart, the column width is calculated based on the size of the number, but it doesn't account for the additional character of the currency symbol, forcing the symbol to be truncated into an additional line, which increases the rows' height.
Design input
I suggest to increase columns' width if the metric that it represents has any currency at all.
You might be able to fix this with a CSS one-liner of white-space: nowrap;. I don't have time to try it out right now, but a PR would be appreciated if it works.
I just checked and it works, thank you!
I installed superset via pip, so I don’t have access to the front-end beyond the 'Edit CSS' function embedded in the dashboards.
Activity
rusackas commentedon Dec 10, 2024
You might be able to fix this with a CSS one-liner of
white-space: nowrap;. I don't have time to try it out right now, but a PR would be appreciated if it works.Jockxtar commentedon Dec 11, 2024
I just checked and it works, thank you!
I installed superset via pip, so I don’t have access to the front-end beyond the 'Edit CSS' function embedded in the dashboards.
rusackas commentedon Dec 11, 2024
@Vitor-Avila @sadpandajoe think any of us should open a short PR here? Not sure if anyone's been too concerned about this.
sadpandajoe commentedon Dec 11, 2024
I don't think this is that high priority but @Vitor-Avila may have a different opinion about it.
Vitor-Avila commentedon Dec 12, 2024
@rusackas there you go: #31414
As you know I'm not too familiar with frontend, so while I tested locally, it would be good to double check if that's the right place to add it.