Skip to content

Commit

Permalink
Moved button to top
Browse files Browse the repository at this point in the history
  • Loading branch information
dhochbaum-dcp committed Mar 15, 2024
1 parent 6007b44 commit 8757d6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/styles/modules/_m-layer-palette.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ $layer-palette-hover-color: rgba($dark-gray,0.08);
// "Toggle All Map Layers Off" button
// --------------------------------------------------
.no-layers-button {
margin: $layer-palette-padding*0 $layer-palette-padding*2 $layer-palette-padding*3 $layer-palette-padding*2;
margin: $layer-palette-padding*3 $layer-palette-padding*2 $layer-palette-padding*2 $layer-palette-padding*2;
width: calc(100% - #{$layer-palette-padding*4});
}

Expand Down
14 changes: 7 additions & 7 deletions app/templates/components/layer-palette.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
{{/if}}
</button>
<div id="layers-menu" class="{{if this.closed "show-for-medium"}}">
<a
class="button gray small no-layers-button hide-for-print"
onclick={{action this.setAllLayerVisibilityToFalse}}
data-test-reset-query-params="true">
<FaIcon @icon="circle-xmark" @prefix="far" />
Toggle All Map Layers Off
</a>
<LabsUiOverrides::LayerGroupsContainer
@handleToggle={{action this.handleLayerGroupToggle}}
@title="Zoning and Land Use" as |container|
Expand Down Expand Up @@ -331,12 +338,5 @@
<FaIcon @icon="undo" />
Reset Map Layers
</a>
<a
class="button gray small no-layers-button hide-for-print"
onclick={{action this.setAllLayerVisibilityToFalse}}
data-test-reset-query-params="true">
<FaIcon @icon="circle-xmark" @prefix="far" />
Toggle All Map Layers Off
</a>
</div>
{{yield}}

0 comments on commit 8757d6e

Please sign in to comment.