Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix layout of geotarget-notice icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsimpson63 committed Apr 18, 2014
1 parent 5fd838a commit 928aecd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions r2/r2/public/static/css/reddit.less
Original file line number Diff line number Diff line change
Expand Up @@ -1575,20 +1575,25 @@ body.with-listing-chooser.explore-page #header .pagename {

.geotarget-notice {
margin: 5px 10px;
height: 16px;
background-repeat: no-repeat;
text-indent: 20px;

.md p {
font-size: smaller;
margin: 0;
margin: 1px 0 0;
}

div:before {
content: "";
float: left;
height: 16px;
width: 20px;
background-repeat: no-repeat;
}

&.city {
&.city div:before {
background-image: url(../map.png); /* SPRITE */
}

&.country {
&.country div:before {
background-image: url(../world.png); /* SPRITE */
}
}
Expand Down

0 comments on commit 928aecd

Please sign in to comment.