Skip to content

Commit 662c990

Browse files
committed
Updated preventative styling to be more specific to the map container and added max-height img rule
1 parent 3f6fb4f commit 662c990

9 files changed

+25
-18
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-storelocator-plugin",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "This jQuery plugin takes advantage of Google Maps API version 3 to create an easy to implement store locator. No back-end programming is required, you just need to feed it KML, XML, or JSON data with all the location information.",
55
"repository": {
66
"type": "git",

dist/assets/css/storelocator.css

+7-5
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,20 @@
1717
color: #ae2118;
1818
font-weight: bold; }
1919

20+
/* Avoid image issues with Google Maps and CSS resets */
21+
.bh-sl-map-container img {
22+
max-height: none !important;
23+
max-width: none !important;
24+
border-radius: 0 !important;
25+
box-shadow: none !important; }
26+
2027
.bh-sl-container {
2128
float: left;
2229
margin-left: 20px;
2330
width: 875px;
2431
font: normal 14px/20px Arial, Helvetica, sans-serif;
2532
color: #555555;
26-
/* Avoid image issues with Google Maps and CSS resets */
2733
/* Avoid issues with Google Maps and CSS frameworks */ }
28-
.bh-sl-container img {
29-
max-width: none !important;
30-
border-radius: 0 !important;
31-
box-shadow: none !important; }
3234
.bh-sl-container > * {
3335
box-sizing: content-box !important; }
3436
.bh-sl-container .bh-sl-form-container {

dist/assets/css/storelocator.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/js/plugins/storeLocator/jquery.storelocator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Google Maps Store Locator - v2.2.0 - 2015-11-21
1+
/*! jQuery Google Maps Store Locator - v2.2.1 - 2015-11-27
22
* http://www.bjornblog.com/web/jquery-store-locator-plugin
33
* Copyright (c) 2015 Bjorn Holine; Licensed MIT */
44

dist/assets/js/plugins/storeLocator/jquery.storelocator.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-storelocator-plugin",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "This jQuery plugin takes advantage of Google Maps API version 3 to create an easy to implement store locator. No back-end programming is required, you just need to feed it KML, XML, or JSON data with all the location information.",
55
"repository": {
66
"type": "git",

readme.md

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ for even faster loading.
2727

2828
## Changelog
2929

30+
### Version 2.2.1
31+
32+
* Updated preventative styling to be more specific to the map container and added max-height img rule.
33+
3034
### Version 2.2.0
3135

3236
* Added check for Google Maps API.

src/css/storelocator.scss

+8-7
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,21 @@ $arialFont: Arial, Helvetica, sans-serif;
3434
font-weight: bold;
3535
}
3636

37+
/* Avoid image issues with Google Maps and CSS resets */
38+
.bh-sl-map-container img {
39+
max-height: none !important;
40+
max-width: none !important;
41+
border-radius: 0 !important;
42+
box-shadow: none !important;
43+
}
44+
3745
.bh-sl-container {
3846
float: left;
3947
margin-left: 20px;
4048
width: 875px;
4149
font: normal 14px/20px $arialFont;
4250
color: $textgray;
4351

44-
/* Avoid image issues with Google Maps and CSS resets */
45-
img {
46-
max-width: none !important;
47-
border-radius: 0 !important;
48-
box-shadow: none !important;
49-
}
50-
5152
/* Avoid issues with Google Maps and CSS frameworks */
5253
> * {
5354
box-sizing: content-box !important;

storelocator.jquery.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "jQuery Google Maps Store Locator",
44
"description": "This jQuery plugin takes advantage of Google Maps API version 3 to create an easy to implement store locator. No back-end programming is required, you just need to feed it KML, XML, or JSON data with all the location information.",
55
"keywords": ["jquery","locator","store", "location", "locations", "maps", "map", "stores", "find"],
6-
"version": "2.2.0",
6+
"version": "2.2.1",
77
"author": {
88
"name": "Bjorn Holine",
99
"url": "http://www.bjornblog.com/"

0 commit comments

Comments
 (0)