Skip to content

Commit 58932ec

Browse files
authored
Merge pull request #30 from ProLoser/revert-29-copilot/fix-calendar-button-visibility
2 parents 44a2b28 + d961437 commit 58932ec

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

style.css

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,7 @@ html, body, #map-canvas {
6565
}
6666

6767
/* google.maps.InfoWindow Header */
68-
/* Override Google Maps default overflow to prevent calendar button from being clipped */
69-
.gm-style-iw-c,
70-
.gm-style-iw-d {
71-
overflow: visible !important;
72-
}
73-
7468
.gm-style-iw-ch {
75-
position: relative;
7669
overflow: visible !important;
7770
h2 {
7871
margin: 0;
@@ -83,10 +76,8 @@ html, body, #map-canvas {
8376
font-weight: normal;
8477
}
8578
add-to-calendar-button {
86-
position: absolute;
87-
top: 0;
88-
right: -41px; /* Position outside info window boundary to avoid overlap with close button */
89-
z-index: 1;
79+
float: right;
80+
margin: -8px -41px 0 0;
9081
}
9182
}
9283
.info-header {

0 commit comments

Comments
 (0)