.leaflet-measure-path-measurement {
  position: absolute;
  font-size: 12px;
  font-weight: bolder;
  color: white;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: 0;
}

.leaflet-measure-path-measurement > div {
  position: relative;
  left: -50%;
  padding: 3px 5px;
  margin-top: -25%;
  background: deeppink;
  border-radius: 10px;
}
