Commit 90fdc6134ba449065b79e139c93821931c5409cb
Committed by
Antonio Terceiro
1 parent
dd02a316
Exists in
master
and in
29 other branches
Change the width of the-location-map
(ActionItem1339)
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/models/location_block.rb
... | ... | @@ -19,7 +19,7 @@ class LocationBlock < Block |
19 | 19 | content_tag('div', |
20 | 20 | '<img src="http://maps.google.com/staticmap?center=' + profile.lat.to_s() + |
21 | 21 | ',' + profile.lng.to_s() + '&zoom=' + zoom.to_s() + |
22 | - '&size=205x250&maptype=' + map_type + '&markers=' + profile.lat.to_s() + ',' + | |
22 | + '&size=190x250&maptype=' + map_type + '&markers=' + profile.lat.to_s() + ',' + | |
23 | 23 | profile.lng.to_s() + ',green&key=' + GoogleMaps::key(profile.default_hostname) + '&sensor=false"/>', |
24 | 24 | :class => 'the-localization-map' ) |
25 | 25 | else | ... | ... |
public/stylesheets/application.css
... | ... | @@ -2047,8 +2047,8 @@ div#activation_enterprise div { |
2047 | 2047 | .the-localization-map { |
2048 | 2048 | overflow: hidden; |
2049 | 2049 | margin: auto; |
2050 | - max-width: 205px; | |
2051 | - padding: 3px; | |
2050 | + max-width: 190px; | |
2051 | + padding: 0px; | |
2052 | 2052 | background: #FFF; |
2053 | 2053 | border: 1px solid #888; |
2054 | 2054 | } | ... | ... |