Permalink
Browse files

BUG: Classes applied to media are too generic to use

* Added a surrounding media class to media to make it easier to style
without risking using .left, .right et al alone.
  • Loading branch information...
1 parent 5a114b8 commit 203cfa225ee0ab9e3f2a4797d751840e526afd44 @adrexia adrexia committed May 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 oembed/Oembed.php
View
@@ -311,9 +311,9 @@ public function forTemplate() {
case 'video':
case 'rich':
if($this->extraClass) {
- return "<div class='$this->extraClass'>$this->HTML</div>";
+ return "<div class='media $this->extraClass'>$this->HTML</div>";
} else {
- return $this->HTML;
+ return "<div class='media'>$this->HTML</div>";
}
break;
case 'link':

0 comments on commit 203cfa2

Please sign in to comment.