From de743fa89009bae8bc46e5e8f332cb0f18b0362a Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Wed, 26 Jun 2013 17:31:45 -0400 Subject: [PATCH] fix clash of zoom button hover styles with Bootstrap, close #1791 --- CHANGELOG.md | 3 ++- dist/leaflet.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db3b53a7..0d78ca7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,8 @@ Leaflet Changelog ## 0.7 (master) An in-progress version being developed on the master branch. -No changes since the latest stable yet. + + * Fixed a bug where zoom buttons inherited Bootstrap link hover styles. [#1791](https://github.com/Leaflet/Leaflet/issues/1791) ## 0.6 (June 26, 2013) diff --git a/dist/leaflet.css b/dist/leaflet.css index ddb7e6b8..aee2bb9f 100644 --- a/dist/leaflet.css +++ b/dist/leaflet.css @@ -197,7 +197,7 @@ -webkit-border-radius: 4px; border-radius: 4px; } -.leaflet-bar a { +.leaflet-bar a, .leaflet-bar a:hover { background-color: #fff; border-bottom: 1px solid #ccc; width: 26px;