Skip to content

Commit

Permalink
Merge branch '155-improve-desktop-ux' into 'main'
Browse files Browse the repository at this point in the history
improve Desktop UX

See merge request decidim/decidim-module-geo!144
  • Loading branch information
Hadrien Froger committed Oct 16, 2024
2 parents 5de8c98 + 67fc46f commit eb17542
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@

.decidimGeo__container {
position: relative;
padding: 0 16px;

.js-decidimgeo.decidimgeo__map {
display: flex;
min-height: 640px;
height: 80vh;
min-height: 540px;
height: 70vh;
width: 100%;
max-width: 100%;
max-height: 100vh;
border: 1px solid transparent;
border-radius: 8px;

* {
box-sizing: border-box;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@mixin decidimGeo__drawerContainer {
width: 299px;
height: auto;
max-height: 70vh;
max-height: 60vh;
border-top: #cccccc 1px solid;
overflow-y: auto;
list-style: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
display: none;
}
@include breakpoint(medium down) {
padding: 0 !important;
&:not(&--fullscreen) .js-decidimgeo.decidimgeo__map {
z-index: 1;
height: 30vh;
max-height: 30vh;
min-height: 140px;
border-radius: 0px;
.leaflet-bar,
.leaflet-control-container {
display: none;
Expand Down

0 comments on commit eb17542

Please sign in to comment.