Skip to content

Commit 6e8e515

Browse files
Fix geosolutions-it#11794 Update the layout for the MapViewerLayout component (geosolutions-it#11931)
1 parent 0730aec commit 6e8e515

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

web/client/components/layout/MapViewerLayout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const MapViewerLayout = ({
2222
watch: ['bottom']
2323
});
2424
return (
25-
<FlexBox id={id} className={className} column classNames={['_fill', '_absolute']}>
25+
<FlexBox id={id} className={className} column classNames={['_fill', '_absolute', 'ms-map-viewer-layout']}>
2626
{header}
2727
<FlexFill flexBox column className={bodyClassName} classNames={['_relative', 'ms-map-viewer-layout-body']}>
2828
<div className="_fill _absolute">{background}</div>

web/client/themes/default/less/common.less

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,14 @@
149149
}
150150
}
151151

152-
.ms-map-viewer-layout-body {
153-
&:has(.ms-featuregrid-fill) {
154-
.ms-map-viewer-layout-bottom,
155-
.ms-featuregrid-fill {
156-
height: 100%;
152+
.ms-map-viewer-layout {
153+
.ms-map-viewer-layout-body {
154+
z-index: 0;
155+
&:has(.ms-featuregrid-fill) {
156+
.ms-map-viewer-layout-bottom,
157+
.ms-featuregrid-fill {
158+
height: 100%;
159+
}
157160
}
158161
}
159162
}

0 commit comments

Comments
 (0)