Skip to content

Commit

Permalink
Use full width of legend for legend items
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyblasta committed Jan 27, 2023
1 parent 4a70656 commit 4283fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/legend/overlays.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Overlays = function Overlays(options) {

const cls = `${clsSettings} o-layerswitcher-overlays flex row overflow-hidden`.trim();
const style = dom.createStyle({
width: '220px', height: '100%', 'min-width': '220px', ...styleSettings
width: '100%', height: '100%', 'min-width': '220px', ...styleSettings
});
const nonGroupNames = ['background', 'none'];
const rootGroupNames = ['root', '', null, undefined];
Expand Down

0 comments on commit 4283fa8

Please sign in to comment.