Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
* Fix the html2string issue with sanitization
* Fix css issue to have min0widht for graph area to be 280px
* Fix the viewport issue in circle packing
  • Loading branch information
mustafasaifee42 committed Jan 12, 2025
1 parent 8693f95 commit 1d28eae
Show file tree
Hide file tree
Showing 8 changed files with 198 additions and 160 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@undp-data/undp-visualization-library",
"version": "1.0.32",
"version": "1.0.33",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"browser": "./dist/index.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Dashboard/MultiGraphDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export function MultiGraphDashboard(props: Props) {
filterPosition === 'side'
? 'calc(100% - 280px - 1rem)'
: '100%',
minWidth: '320px',
minWidth: '280px',
flexGrow: 1,
display: 'flex',
gap: '1rem',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export function MultiGraphDashboardWideToLongFormat(props: Props) {
TotalWidth(d.columns)
}rem)`,
backgroundColor: 'transparent',
minWidth: '320px',
minWidth: '280px',
height: 'inherit',
minHeight: 'inherit',
flexGrow: 1,
Expand Down
Loading

0 comments on commit 1d28eae

Please sign in to comment.