Skip to content

Commit a7304d8

Browse files
Fix Chart Centering in RTL Layouts (#19800)
* style: update chart widget container to display full width and centered content * Update theme.css --------- Co-authored-by: Dan Harrin <git@danharrin.com>
1 parent ea91a5c commit a7304d8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/panels/dist/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/widgets/resources/css/chart-widget.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.fi-wi-chart {
22
& .fi-wi-chart-canvas-ctn {
3-
@apply mx-auto;
3+
@apply mx-auto flex w-full justify-center;
44

55
&:not(.fi-wi-chart-canvas-ctn-no-aspect-ratio) {
66
@apply aspect-square;

0 commit comments

Comments
 (0)