Skip to content

Commit

Permalink
Use box-sizing model to avoid wrong offset
Browse files Browse the repository at this point in the history
  • Loading branch information
bbecquet committed Jul 13, 2014
1 parent dba495d commit a84597a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions leaflet.magnifyingglass.css
Expand Up @@ -4,11 +4,13 @@
box-shadow: 0 0 5px gray;
position: absolute;
overflow: hidden;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.leaflet-magnifying-glass > .leaflet-container {
height: 100%;
width: 100%;
height: 100%;
width: 100%;
}

/* Webkit-only workaround for the border-radius clipping bug,
Expand Down

0 comments on commit a84597a

Please sign in to comment.