Skip to content

Commit

Permalink
Fix: right-dock not visible when active
Browse files Browse the repository at this point in the history
  • Loading branch information
nboisteault committed Oct 9, 2024
1 parent 8113eee commit 1ff1746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lizmap/www/assets/css/map.css
Original file line number Diff line number Diff line change
Expand Up @@ -1672,12 +1672,12 @@ transform: none !important;
margin-left: 5px;
}

#content.right-dock-visible #map-content{
#mapmenu:has(.nav-right-dock.active) ~ #map-content{
/* 30/100 is linked to #right-dock{width: 30%;}
TODO : avoid use of calc() and hard value */
margin-right: calc((100% - 30px)*30/100);
}
#content.mobile.right-dock-visible #map-content{
#content.mobile #mapmenu:has(.nav-right-dock.active) ~ #map-content{
margin-right:0px;
}

Expand Down

0 comments on commit 1ff1746

Please sign in to comment.