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-datalayer-container,
|
||||
.umap-layer-properties-container,
|
||||
.umap-footer-container,
|
||||
.umap-browse-data,
|
||||
.umap-filter-data,
|
||||
.umap-browse-datalayers {
|
||||
|
|
|
@ -116,12 +116,7 @@ L.U.PopupTemplate.Default = L.Class.extend({
|
|||
|
||||
renderFooter: function () {
|
||||
if (this.feature.hasPopupFooter()) {
|
||||
const footerContainer = L.DomUtil.create(
|
||||
'div',
|
||||
'umap-footer-container',
|
||||
this.container
|
||||
),
|
||||
footer = L.DomUtil.create('ul', 'umap-popup-footer', footerContainer),
|
||||
const footer = L.DomUtil.create('ul', 'umap-popup-footer', this.container),
|
||||
previousLi = L.DomUtil.create('li', 'previous', footer),
|
||||
zoomLi = L.DomUtil.create('li', 'zoom', footer),
|
||||
nextLi = L.DomUtil.create('li', 'next', footer),
|
||||
|
|
|
@ -1317,7 +1317,6 @@ a.add-datalayer:hover,
|
|||
}
|
||||
.leaflet-popup-content-wrapper {
|
||||
border-radius: 4px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.umap-popup-content {
|
||||
max-height: 500px;
|
||||
|
@ -1325,6 +1324,7 @@ a.add-datalayer:hover,
|
|||
margin-bottom: 4px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.umap-popup-content iframe {
|
||||
min-width: 310px;
|
||||
|
|
Loading…
Reference in a new issue