Skip to content

Commit

Permalink
Merge pull request #1987 from huggla/patch-1
Browse files Browse the repository at this point in the history
Update legend.js
  • Loading branch information
huggla authored Mar 28, 2024
2 parents 9797691 + 056e638 commit de2d006
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/controls/legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const Legend = function Legend(options = {}) {
},
style: {
'vertical-align': 'bottom',
'margin-bottom': '7px',
'margin-bottom': '13px',
'padding-right': '6px'
},
icon: '#ic_close_fullscreen_24px',
Expand All @@ -213,7 +213,7 @@ const Legend = function Legend(options = {}) {
},
style: {
'vertical-align': 'bottom',
'margin-bottom': '7px',
'margin-bottom': '13px',
'padding-right': '6px'
},
icon: '#ic_open_in_full_24px',
Expand Down Expand Up @@ -666,7 +666,8 @@ const Legend = function Legend(options = {}) {
cls: 'icon-smaller small round grey-lightest',
style: {
'vertical-align': 'bottom',
'margin-bottom': '4px'
'margin-bottom': '8.5px',
'margin-top': '-2px'
},
icon: '#ic_close_24px',
state: closeButtonState,
Expand Down Expand Up @@ -710,7 +711,8 @@ const Legend = function Legend(options = {}) {
style: {
'background-color': '#fff',
'border-top': '1px solid #dbdbdb',
'border-radius': '0.5rem'
'border-radius': '0.5rem',
'padding-bottom': '6px'
},
components: baselayerCmps
});
Expand Down

0 comments on commit de2d006

Please sign in to comment.