-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent Default Padding for Different Charts #31033
Comments
Hey @tatiana-cherne! I'm here to help you with any bugs, questions, or contributions you have for Superset. Feel free to ask me anything! Dosu The issue of inconsistent default padding for different chart types in Superset can be addressed by examining the padding settings in the codebase. The default padding for different chart types is set in the file For the Table component, specific CSS classes and styles affect its alignment, such as text alignment for header and metric cells, global filter alignment, and pagination alignment [3][4]. However, there is no specific information about the Bar Chart component's alignment in the provided context. To achieve consistent alignment across different chart types, you may need to adjust these padding settings and CSS styles to ensure that all charts are centered within their cards. |
can you assign it to me? |
I have begun working on the issue and I hope that I can continue |
Sure |
can you assign it to me? |
Hi @tatiana-cherne , |
Hyy @tatiana-cherne I want to work on this issues please assignees me this issues. |
Hi I'm Vam. I started to contribute from today please help me to find issues. |
How can we ensure consistent padding and alignment for all chart types in Apache Superset? |
Hi @tatiana-cherne , |
I do not have authority to assign this issue to anyone unfortunately, I just opened the issue. I ended up fixing a similar issue, but this one remains open if anyone wants to jump on it. |
Asignment isn't really necessary, we welcome PRs at any time. But... done! |
ok |
Is the issue resolved? |
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:
+ Chart
Table
+ Chart
Bar Chart
Screenshots/recordings
Superset version
4.1.0
Python version
3.11
Node version
Not applicable
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: