UNPKG

2gis-maps

Version:

Interactive 2GIS maps API, based on Leaflet

45 lines (36 loc) 862 B
.dg-popup { } .dg-popup__container { margin: 0; } .leaflet-popup-scrolled .dg-popup__container { /* @TODO: .leaflet-popup-scrolled → dg-popup_scrolled_true */ padding: 8px 14px 8px 0; } .dg-popup__header { position: relative; padding-bottom: 12px; // не margin, чтобы правильно работал offsetHeight .leaflet-popup-scrolled &:after { position: relative; top: 12px; display: block; width: 100%; height: 1px; content: ''; } } .dg-popup__footer { position: relative; bottom: 0; overflow: hidden; .leaflet-popup-scrolled &:before { display: block; width: 100%; height: 1px; content: ''; } } .dg-popup__footer-buttons { } .dg-popup_hidden_true { display: none; }