Skip to content

Commit 269b238

Browse files
authored
Fix - Style of resource menu toolbar and header template label (#2116)
1 parent 4f51a43 commit 269b238

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

geonode_mapstore_client/client/themes/geonode/less/_resources-catalog.less

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,29 @@
128128
}
129129
}
130130
}
131+
}
132+
133+
:has(.ms-resources-filter._visible) {
134+
.gn-resource-page-catalog-section:not(._panel) {
135+
margin-left: var(--ms-resources-filter-width);
136+
}
137+
}
138+
139+
:has(.ms-resource-detail._visible) {
140+
.gn-resource-page-catalog-section:not(._panel) {
141+
width: calc(100% - var(--ms-resource-detail-width));
142+
}
143+
&:has(.ms-resources-filter._visible) {
144+
.gn-resource-page-catalog-section:not(._panel) {
145+
width: calc(100% - var(--ms-resource-detail-width) - var(--ms-resources-filter-width));
146+
}
147+
}
148+
}
149+
:has(.gn-resource-page-catalog) {
150+
// ensure ms-container has higher z-index to correctly the overlay components (filters and details)
151+
// if rendered inside the gn-resource-page-catalog page
152+
#ms-container {
153+
position: relative;
154+
z-index: 15;
155+
}
131156
}

0 commit comments

Comments
 (0)