Skip to content

Commit cf03f87

Browse files
committed
fix scroll in ubdt charts in accordeon
1 parent 8849fb3 commit cf03f87

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/composed-components/ClusterCategoriesDistributionAccordeonContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const ClusterCategoriesDistributionAccordeonContent = ({
8080
chart.selectFilterGroup ===
8181
defaultCategory) ||
8282
!chart.selectFilterGroup ? (
83-
<div className="hideonprint">
83+
<div className="hideonprint w-full">
8484
<h5
8585
key={index}
8686
className="text-gray-800 font-semibold"
@@ -107,7 +107,7 @@ const ClusterCategoriesDistributionAccordeonContent = ({
107107
/>
108108
</div>
109109
) : null}
110-
<div className="hidden showonprint">
110+
<div className="hidden showonprint overflow-x-hidden">
111111
<h5
112112
key={index}
113113
className="text-gray-800 font-semibold"

src/components/composed-components/ClusterNumericalVariableDistributionAccordeonContent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const ClusterNumericalVariableDistributionAccordeonContent = ({
7171
chart.selectFilterGroup ===
7272
defaultCategory) ||
7373
!chart.selectFilterGroup ? (
74-
<div className="hideonprint">
74+
<div className="hideonprint w-full">
7575
<h5
7676
key={chartIndex}
7777
className="text-gray-800 font-semibold"
@@ -91,7 +91,7 @@ const ClusterNumericalVariableDistributionAccordeonContent = ({
9191
/>
9292
</div>
9393
) : null}
94-
<div className="hidden showonprint">
94+
<div className="hidden showonprint overflow-x-hidden">
9595
<h5
9696
key={`SingleBarChart-print-${chartIndex}`}
9797
className="text-gray-800 font-semibold"

0 commit comments

Comments
 (0)