Skip to content

Commit

Permalink
Show compact attribution on IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley authored and ryanhamley committed Oct 9, 2018
1 parent 1b98c40 commit 544d377
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/css/mapbox-gl.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,20 +217,25 @@ a.mapboxgl-ctrl-logo.mapboxgl-compact {

@media screen {
.mapboxgl-ctrl-attrib.mapboxgl-compact {
padding-top: 2px;
padding-bottom: 2px;
margin: 0 10px 10px;
position: relative;
padding-right: 24px;
background-color: #fff;
border-radius: 3px 12px 12px 3px;
visibility: hidden;
}

.mapboxgl-ctrl-attrib.mapboxgl-compact:hover {
padding: 2px 24px 2px 4px;
visibility: visible;
}

.mapboxgl-ctrl-attrib.mapboxgl-compact > a {
display: none;
}

.mapboxgl-ctrl-attrib.mapboxgl-compact:hover > a {
display: inline;
}

.mapboxgl-ctrl-attrib.mapboxgl-compact::after {
content: '';
cursor: pointer;
Expand All @@ -242,7 +247,6 @@ a.mapboxgl-ctrl-logo.mapboxgl-compact {
width: 24px;
height: 24px;
box-sizing: border-box;
visibility: visible;
border-radius: 12px;
}
}
Expand Down

0 comments on commit 544d377

Please sign in to comment.