mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-08-20 14:34:38 +00:00
Remove border styles in overflowing popups (#8260)
* Remove border styles in overflowing popups * Document `leaflet-popup-scrolled` CSS selector * Be explicit about which type of selector
This commit is contained in:
2
dist/leaflet.css
vendored
2
dist/leaflet.css
vendored
@ -540,8 +540,6 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
||||
}
|
||||
.leaflet-popup-scrolled {
|
||||
overflow: auto;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.leaflet-oldie .leaflet-popup-content-wrapper {
|
||||
|
@ -58,6 +58,8 @@ export var Popup = DivOverlay.extend({
|
||||
// @option maxHeight: Number = null
|
||||
// If set, creates a scrollable container of the given height
|
||||
// inside a popup if its content exceeds it.
|
||||
// The scrollable container can be styled using the
|
||||
// `leaflet-popup-scrolled` CSS class selector.
|
||||
maxHeight: null,
|
||||
|
||||
// @option autoPan: Boolean = true
|
||||
|
Reference in New Issue
Block a user