Merge pull request #1148 from umap-project/overflow-popup
Overflow popup
This commit is contained in:
commit
7320e6f9fd
3 changed files with 2 additions and 8 deletions
|
@ -506,7 +506,6 @@ i.info {
|
||||||
.umap-edit-container,
|
.umap-edit-container,
|
||||||
.umap-datalayer-container,
|
.umap-datalayer-container,
|
||||||
.umap-layer-properties-container,
|
.umap-layer-properties-container,
|
||||||
.umap-footer-container,
|
|
||||||
.umap-browse-data,
|
.umap-browse-data,
|
||||||
.umap-filter-data,
|
.umap-filter-data,
|
||||||
.umap-browse-datalayers {
|
.umap-browse-datalayers {
|
||||||
|
|
|
@ -116,12 +116,7 @@ L.U.PopupTemplate.Default = L.Class.extend({
|
||||||
|
|
||||||
renderFooter: function () {
|
renderFooter: function () {
|
||||||
if (this.feature.hasPopupFooter()) {
|
if (this.feature.hasPopupFooter()) {
|
||||||
const footerContainer = L.DomUtil.create(
|
const footer = L.DomUtil.create('ul', 'umap-popup-footer', this.container),
|
||||||
'div',
|
|
||||||
'umap-footer-container',
|
|
||||||
this.container
|
|
||||||
),
|
|
||||||
footer = L.DomUtil.create('ul', 'umap-popup-footer', footerContainer),
|
|
||||||
previousLi = L.DomUtil.create('li', 'previous', footer),
|
previousLi = L.DomUtil.create('li', 'previous', footer),
|
||||||
zoomLi = L.DomUtil.create('li', 'zoom', footer),
|
zoomLi = L.DomUtil.create('li', 'zoom', footer),
|
||||||
nextLi = L.DomUtil.create('li', 'next', footer),
|
nextLi = L.DomUtil.create('li', 'next', footer),
|
||||||
|
|
|
@ -1317,7 +1317,6 @@ a.add-datalayer:hover,
|
||||||
}
|
}
|
||||||
.leaflet-popup-content-wrapper {
|
.leaflet-popup-content-wrapper {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
}
|
||||||
.umap-popup-content {
|
.umap-popup-content {
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
|
@ -1325,6 +1324,7 @@ a.add-datalayer:hover,
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
.umap-popup-content iframe {
|
.umap-popup-content iframe {
|
||||||
min-width: 310px;
|
min-width: 310px;
|
||||||
|
|
Loading…
Reference in a new issue