shlink-web-client/src/visits/helpers/MapModal.scss

32 lines
506 B
SCSS
Raw Normal View History

@import '../../utils/base';
2019-01-07 15:45:16 +03:00
@import '../../utils/mixins/fit-with-margin';
.map-modal__modal {
@media (min-width: $mdMin) {
$margin: 20px;
2019-01-07 15:45:16 +03:00
@include fit-with-margin($margin);
}
@media (max-width: $smMax) {
$margin: 10px;
2019-01-07 15:45:16 +03:00
@include fit-with-margin($margin);
}
}
.map-modal__modal-content {
height: 100%;
}
.map-modal__modal-body {
padding: 0;
display: flex;
overflow: hidden;
}
.map-modal__modal .leaflet-container {
flex: 1 1 auto;
border-radius: 0 0 .3rem .3rem;
}