Permalink
Browse files

fix inset-right img border getting cut off. closes #113

  • Loading branch information...
ryanpitts committed Oct 27, 2012
1 parent 34a7d57 commit cbcab65d556f6d00c6b2ef2c1b724418d29d61e2
Showing with 3 additions and 10 deletions.
  1. +2 −9 media/css/app.css
  2. +1 −1 source/people/templates/people/organization_detail.html
View
@@ -492,10 +492,9 @@ h1.maintopic {
}
.image-inset-left-wrapper img, .image-inset-right-wrapper img {
- width: 300px;
+ width: 298px;
}
-img.map-inset-right,
img.list-thumbnail,
.image-full-width-wrapper img,
.image-inset-left-wrapper img,
@@ -509,11 +508,6 @@ img.list-thumbnail {
margin: 0 .67em .25em 0;
}
-.map-inset-right {
- width: 300px;
- height: 250px;
-}
-
.small, .link-list li i.small {
font-size: 0.8em;
}
@@ -1055,7 +1049,7 @@ img#main-logo {
font-size: .9em;
}
- img.map-inset-right {
+ img.map-inset {
display: none;
}
@@ -1068,5 +1062,4 @@ img#main-logo {
.search-form input[type="text"] {
width: auto;
}
-
}
@@ -10,7 +10,7 @@ <h2>{{ organization.name }}</h2>
{% if organization.location_string_for_static_map %}
<div class="image-inset-right-wrapper">
- <a href="https://maps.google.com/maps?q={{ organization.location_string_for_static_map }}"><img src="https://maps.googleapis.com/maps/api/staticmap?sensor=false&scale=2&zoom=13&maptype=terrain&size=300x250&markers=size:small|color:AD3121|{{ organization.location_string_for_static_map }}" class="map-inset-right"></a>
+ <a href="https://maps.google.com/maps?q={{ organization.location_string_for_static_map }}"><img src="https://maps.googleapis.com/maps/api/staticmap?sensor=false&scale=2&zoom=13&maptype=terrain&size=300x250&markers=size:small|color:AD3121|{{ organization.location_string_for_static_map }}" alt="{{ organization.name }} location" class="map-inset"></a>
{% if organization.address or organization.location_string_city %}<p class="caption">{% if organization.address %}{{ organization.address }}{% endif %}{% if organization.address and organization.location_string_city %}, {% endif %}{% if organization.location_string_city %}{{ organization.location_string_city }}{% endif %}</p>{% endif %}
</div>
{% endif %}

0 comments on commit cbcab65

Please sign in to comment.