apache/superset
Inconsistent Default Padding for Different Charts
Closed
#31,033 opened on Nov 22, 2024
#bug:cosmeticcares:presetgood first issueviz:charts:barviz:charts:table
Repository metrics
- Stars
- (72,837 stars)
- PR merge metrics
- (Avg merge 31d 15h) (773 merged PRs in 30d)
Description
Bug description
Depending on the type selected, the Superset UI will display charts with different alignments. Ideally they would be centered inside the card. Currently the padding differs on both sides leading to more whitespace on the left or right.
For Example:
- Go to Dashboard
- Click
+ Chart - Select
Table - Click
+ Chart - Select
Bar Chart
Screenshots/recordings
Superset version
4.1.0
Python version
3.11
Node version
Not applicable
Browser
Chrome
Additional context
No response
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.