From 430ad8409c6ac9b8c8a4ceefe7545c88cc49dd4c Mon Sep 17 00:00:00 2001 From: Lennard Voogdt Date: Sun, 17 Mar 2013 14:49:33 +0100 Subject: [PATCH] make markers work with bootstrap icons --- dist/leaflet.awesome-markers.css | 3 +- examples/with-bootstrap.html | 47 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 examples/with-bootstrap.html diff --git a/dist/leaflet.awesome-markers.css b/dist/leaflet.awesome-markers.css index ddf3aaedc6..a26e63d69d 100644 --- a/dist/leaflet.awesome-markers.css +++ b/dist/leaflet.awesome-markers.css @@ -13,6 +13,7 @@ Version: 1.0 left:0; top:0; display: block; + text-align: center; } .awesome-marker-shadow { @@ -23,8 +24,6 @@ Version: 1.0 .awesome-marker i { color: #fff; - text-align:center; - width:100%; margin-top: 10px; display: inline-block; font-size: 15px; diff --git a/examples/with-bootstrap.html b/examples/with-bootstrap.html new file mode 100644 index 0000000000..b2c2db3806 --- /dev/null +++ b/examples/with-bootstrap.html @@ -0,0 +1,47 @@ + + + + Leaflet Quick Start Guide Example + + + + + + + + + + + +
+ + + + + + +