Skip to content

Commit

Permalink
Update legend.js
Browse files Browse the repository at this point in the history
  • Loading branch information
huggla authored Mar 26, 2024
1 parent 75f65ce commit b7f8af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controls/legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,6 @@ const Legend = function Legend(options = {}) {
cls: 'flex padding-small no-shrink',
style: {
'background-color': '#fff',
'max-width': '300px',
'border-top': '1px solid #dbdbdb',
'border-radius': '0.5rem'
},
Expand All @@ -711,7 +710,8 @@ const Legend = function Legend(options = {}) {
cls: 'flex column relative width-100',
components: mainContainerComponents,
style: {
'max-height': `${maxHeight}px`
'max-height': `${maxHeight}px`,
'width': 'min-content'

Check failure on line 714 in src/controls/legend.js

View workflow job for this annotation

GitHub Actions / lint

Unnecessarily quoted property 'width' found
}
});

Expand Down

0 comments on commit b7f8af9

Please sign in to comment.