From 8a9df94911378635925113004a48e7e2c2e9d384 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sat, 12 Jul 2014 13:43:19 -0700 Subject: [PATCH] Use div tags instead of P, for BBcode compatibility --- adm/style/board_announcements.html | 2 +- styles/all/template/event/overall_header_content_before.html | 2 +- styles/all/theme/boardannouncements.css | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/adm/style/board_announcements.html b/adm/style/board_announcements.html index c89fa4d..a65e012 100644 --- a/adm/style/board_announcements.html +++ b/adm/style/board_announcements.html @@ -40,7 +40,7 @@

{L_WARNING}

{L_BOARD_ANNOUNCEMENTS_PREVIEW} -

{BOARD_ANNOUNCEMENTS_PREVIEW}

+
{BOARD_ANNOUNCEMENTS_PREVIEW}
diff --git a/styles/all/template/event/overall_header_content_before.html b/styles/all/template/event/overall_header_content_before.html index 675c058..0bf5c76 100644 --- a/styles/all/template/event/overall_header_content_before.html +++ b/styles/all/template/event/overall_header_content_before.html @@ -3,7 +3,7 @@
style="background-color:#{BOARD_ANNOUNCEMENT_BGCOLOR}">
-

{BOARD_ANNOUNCEMENT}

+
{BOARD_ANNOUNCEMENT}
diff --git a/styles/all/theme/boardannouncements.css b/styles/all/theme/boardannouncements.css index a9f80d9..67274aa 100644 --- a/styles/all/theme/boardannouncements.css +++ b/styles/all/theme/boardannouncements.css @@ -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; }