Skip to content

Commit

Permalink
Merge pull request #25 from VSEphpbb/fixes
Browse files Browse the repository at this point in the history
Use div tags instead of P, for BBcode compatibility
  • Loading branch information
EXreaction committed Jul 13, 2014
2 parents afbd275 + 8a9df94 commit 0c1f49f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion adm/style/board_announcements.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3>{L_WARNING}</h3>
<!-- IF BOARD_ANNOUNCEMENTS_PREVIEW -->
<fieldset>
<legend>{L_BOARD_ANNOUNCEMENTS_PREVIEW}</legend>
<p style="padding:10px; font-size:1.0em; <!-- IF BOARD_ANNOUNCEMENTS_BGCOLOR -->background-color:#{BOARD_ANNOUNCEMENTS_BGCOLOR}<!-- ENDIF -->">{BOARD_ANNOUNCEMENTS_PREVIEW}</p>
<div style="padding:10px; font-size:1.0em; overflow: auto; <!-- IF BOARD_ANNOUNCEMENTS_BGCOLOR -->background-color:#{BOARD_ANNOUNCEMENTS_BGCOLOR}<!-- ENDIF -->">{BOARD_ANNOUNCEMENTS_PREVIEW}</div>
</fieldset>
<!-- ENDIF -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div id="phpbb_announcement"<!-- IF BOARD_ANNOUNCEMENT_BGCOLOR --> style="background-color:#{BOARD_ANNOUNCEMENT_BGCOLOR}"<!-- ENDIF -->>
<div class="inner">
<a href="{U_BOARD_ANNOUNCEMENT_CLOSE}" data-ajax="close_announcement" data-overlay="false" class="close" title="{L_BOARD_ANNOUNCEMENT_CLOSE}"></a>
<p>{BOARD_ANNOUNCEMENT}</p>
<div>{BOARD_ANNOUNCEMENT}</div>
</div>
</div>
<!-- ENDIF -->
3 changes: 2 additions & 1 deletion styles/all/theme/boardannouncements.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
}

/* zero out any text margins and scroll any overflow */
#phpbb_announcement .inner p {
#phpbb_announcement .inner div {
margin: 0;
overflow-x: auto;
overflow: hidden;
font-size: 1.1em;
line-height: 1.5em;
}

Expand Down

0 comments on commit 0c1f49f

Please sign in to comment.