apache/superset

Inconsistent Default Padding for Different Charts

已關閉

#31,033 建立於 2024年11月22日

 (20 則留言) (0 個反應) (1 位負責人)TypeScript (17,291 個分叉)batch import
#bug:cosmeticcares:presetgood first issueviz:charts:barviz:charts:table

倉庫指標

星標
 (72,837 顆星)
PR 合併指標
 (平均合併 31天 15小時) (30 天內合併 773 個 PR)

描述

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:

  1. Go to Dashboard
  2. Click + Chart
  3. Select Table
  4. Click + Chart
  5. Select Bar Chart

Screenshots/recordings

Screenshot 2024-11-19 at 11 37 05 AM

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.

貢獻者指南