Skip to content

Commit

Permalink
move map items to right place
Browse files Browse the repository at this point in the history
  • Loading branch information
bmlancien committed Nov 13, 2023
1 parent f33d4d1 commit 4720e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion digiplan/static/scss/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $map-control-position: absolute;
$map-control-img-size: 3rem;
$map-control-text-height: 1rem;
$map-control-total-height: calc((#{$padding-small} * 2) + #{$map-control-img-size} + #{$map-control-text-height});
$map-control-position-top: calc(#{$steps-height} + #{$map-items-padding});
$map-control-position-top: $map-items-padding;
$map-control-position-right: 1rem;
$map-control-position-left: 1rem;
$map-control-z-index: 9;
Expand Down
2 changes: 1 addition & 1 deletion digiplan/static/scss/components/_map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
@extend .overflow-auto;
width: $map-layers-box-width;
height: calc(100vh - #{$top-nav-height} - #{$steps-height} - #{$map-legend-box-height} - #{$map-legend-box-padding-bottom} - (2 * #{$map-items-padding}));
top: calc(#{$steps-height} + #{$map-items-padding});
top: $map-items-padding;
right: $map-items-padding;
z-index: $map-layers-box-z-index;
}
Expand Down

0 comments on commit 4720e27

Please sign in to comment.