diff --git a/dist/leaflet.css b/dist/leaflet.css index aacd02136..ddf5d41ce 100644 --- a/dist/leaflet.css +++ b/dist/leaflet.css @@ -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 { diff --git a/src/layer/Popup.js b/src/layer/Popup.js index b1e933ae8..5cf91531e 100644 --- a/src/layer/Popup.js +++ b/src/layer/Popup.js @@ -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