Skip to content

Commit

Permalink
Fix the width of the projection switcher (#8399)
Browse files Browse the repository at this point in the history
* Fix the width of the projection switcher

The map projection switcher on the map is too small. This change fixes it.

The change can be seen by adding a second projection for the map in the admin

* Update web-ui/src/main/resources/catalog/views/default/less/gn_map_default.less

Co-authored-by: Jose García <josegar74@gmail.com>

---------

Co-authored-by: Jose García <josegar74@gmail.com>
  • Loading branch information
MichelGabriel and josegar74 authored Oct 8, 2024
1 parent bb9c861 commit d4d2a31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
margin: 0;
padding: 0;
position: absolute;
width: 16.5em;
width: 24.5em; // value = maptools panel width - label width - panel tools opener button width (34em - 7em - 2.5em)
border-radius: 0;
li {
width: calc(~"100% -30px");
Expand Down

0 comments on commit d4d2a31

Please sign in to comment.