Skip to content

Commit

Permalink
MIM-2150: Fix max-height if text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-cgn committed Jan 20, 2025
1 parent aa0d070 commit e9f5cde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statisticsnorway/ssb-component-library",
"version": "2.4.4",
"version": "2.4.5",
"description": "Component library for SSB (Statistics Norway)",
"main": "lib/bundle.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExpansionBox/ExpansionBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ExpansionBox: React.FC<ExpansionBoxProps> = ({
})
}
}
}, [isOpen])
}, [isOpen, text])

return (
<div className={classNameList.join(' ')}>
Expand Down

0 comments on commit e9f5cde

Please sign in to comment.