Skip to content

Commit

Permalink
Unwanted whitespace after the image.
Browse files Browse the repository at this point in the history
  • Loading branch information
elvinas-liut committed Feb 24, 2013
1 parent 3ad60b1 commit d914ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/dataobjects/Advertisement.php
Expand Up @@ -246,7 +246,7 @@ public function getContent() {
</object>
';
} else if ($file->appCategory() == 'image') {
return '<img src="'.$file->URL.'" style="width:100%" alt="'.$file->Filename.'" />';
return '<img src="'.$file->URL.'" style="width:100%;display:block;" alt="'.$file->Filename.'" />';
}
}
return $this->AdContent;
Expand Down

0 comments on commit d914ef7

Please sign in to comment.