Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #659 from mapbox/smaller-fonts
Browse files Browse the repository at this point in the history
make marker popups work better
  • Loading branch information
tmcw committed Feb 25, 2014
2 parents e3a4322 + 61743c7 commit 43531cc
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions theme/style.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
/* general typography */
.leaflet-container {
background:#fff;
font:15px/25px 'Helvetica Neue', Arial, Helvetica, sans-serif;
font:12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
color:#404040;
color:rgba(0,0,0,0.75);
outline:0;
overflow:hidden;
-ms-touch-action:none;
}

.leaflet-container *,
.leaflet-container *:after,
.leaflet-container *:before {
Expand All @@ -24,9 +25,14 @@
.leaflet-container h6,
.leaflet-container p {
font-size:15px;
line-height:25px;
line-height:20px;
margin:0 0 10px;
}

.leaflet-container .marker-description img {
margin-bottom: 10px;
}

.mapbox-small,
.leaflet-control-attribution,
.leaflet-control-scale,
Expand Down Expand Up @@ -747,9 +753,9 @@
/* Browser Fixes
------------------------------------------------------- */
/* Map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container img { max-width:none!important; }
.leaflet-container img.leaflet-tile { max-width:none !important; }
/* Stupid Android 2 doesn't understand "max-width: none" properly */
.leaflet-container img.leaflet-image-layer { max-width:15000px!important; }
.leaflet-container img.leaflet-image-layer { max-width:15000px !important; }
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg { -moz-user-select:none; }
/* Older IEs don't support the translateY property for display animation */
Expand Down

0 comments on commit 43531cc

Please sign in to comment.