Skip to content

Commit 94d242c

Browse files
[TC-2219] fix: When changing zoom in the Home screen, the pie charts are overlapping their boarders (trustification#2165)
1 parent e6e6c0f commit 94d242c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spog/ui/src/pages/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ pub fn sbom_donut_chart(props: &SbomDonutChartProperties) -> Html {
645645
let options = donut_options(data);
646646
html!(
647647
<>
648-
<Donut {options} {labels} style="width: 350px;" />
648+
<Donut {options} {labels} style="max-width: 350px;" />
649649
</>
650650
)
651651
}

0 commit comments

Comments
 (0)