diff --git a/CHANGELOG.md b/CHANGELOG.md index 2628e88..8306463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [v3.3.1-SNAPSHOT] - 2023-03-30 - Just including new dependencies +- Improved css ## [v3.3.0] - 2023-02-20 diff --git a/src/main/webapp/GeoportalDataViewer.css b/src/main/webapp/GeoportalDataViewer.css index fb31c9b..1573499 100644 --- a/src/main/webapp/GeoportalDataViewer.css +++ b/src/main/webapp/GeoportalDataViewer.css @@ -38,7 +38,7 @@ body { .ol-popup img { width: 100%; - max-height: 200px; + max-height: 120px; } .ol-popup:after, .ol-popup:before { @@ -783,6 +783,20 @@ RESPONSIVE } } +@media all and (max-height: 900px) { + .ol-popup{ + min-width: 150px; + max-width: 150px; + max-height: 150px; + overflow-y: scroll; + } + .ol-popup img { + width: 100%; + max-width: 150px; + } +} + + /* OPEN COLLECTION UI */ .open-collection-style { padding-left: 10px;