Просмотр исходного кода

Merge pull request #138 from Hutchy68/fix/mw-content-div

[bug][issue #37] Provide a parent container for mw-content-text div.
Jamie Thingelstad 11 лет назад
Родитель
Сommit
b9ac2e71ea
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      Foreground.skin.php

+ 4 - 1
Foreground.skin.php

@@ -174,7 +174,10 @@ class foregroundTemplate extends BaseTemplate {
 					<?php if ( $this->data['isarticle'] ) { ?><h3 id="tagline"><?php $this->msg( 'tagline' ) ?></h3><?php } ?>
 					<?php if ( $this->data['isarticle'] ) { ?><h3 id="tagline"><?php $this->msg( 'tagline' ) ?></h3><?php } ?>
 					<h5 class="subtitle"><?php $this->html('subtitle') ?></h5>
 					<h5 class="subtitle"><?php $this->html('subtitle') ?></h5>
 					<div class="clear_both"></div>
 					<div class="clear_both"></div>
-					<?php $this->html('bodytext') ?>
+					<div class="mw-bodytext">
+						<?php $this->html('bodytext') ?>
+						<div class="clear_both"></div>
+					</div>
 		    	<div class="group"><?php $this->html('catlinks'); ?></div>
 		    	<div class="group"><?php $this->html('catlinks'); ?></div>
 		    	<?php $this->html('dataAfterContent'); ?>
 		    	<?php $this->html('dataAfterContent'); ?>
 		    </div>
 		    </div>