Skip to content

Commit

Permalink
fix(style): remove added margin of layer legend
Browse files Browse the repository at this point in the history
  • Loading branch information
silvester-pari committed Dec 18, 2024
1 parent f7e91c9 commit 1ee6f96
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions elements/layercontrol/src/components/layer-legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ export class EOxLayerControlLayerLegend extends LitElement {
tickFormat="${ifDefined(this.layerLegend.tickFormat)}"
.ticks=${this.layerLegend.ticks ?? 5}
.tickValues=${this.layerLegend.tickValues}
.marginLeft=${0}
.marginRight=${0}
>
</color-legend>
</div>
Expand All @@ -125,11 +127,6 @@ export class EOxLayerControlLayerLegend extends LitElement {
}

#styleBasic = css`
.legend-container {
display: flex;
justify-content: center;
}
color-legend {
--cle-background: transparent;
--cle-font-family: inherit;
Expand Down

0 comments on commit 1ee6f96

Please sign in to comment.