From db33435a1dc4be3642192c6416cde1f1c044b939 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 3 Oct 2014 11:32:02 +0200 Subject: [PATCH] Move inline CSS code into LESS file --- com.woltlab.wcf/templates/userNotice.tpl | 2 +- wcfsetup/install/files/style/alert.less | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/userNotice.tpl b/com.woltlab.wcf/templates/userNotice.tpl index 783f9717c7..7e9f4075c4 100644 --- a/com.woltlab.wcf/templates/userNotice.tpl +++ b/com.woltlab.wcf/templates/userNotice.tpl @@ -25,7 +25,7 @@ {foreach from=$__wcf->getNoticeHandler()->getVisibleNotices() item='notice'}

{if $notice->isDismissible} - + {/if} {if $notice->noticeUseHtml}{@$notice->notice|language}{else}{@$notice->notice|language|htmlspecialchars|nl2br}{/if} diff --git a/wcfsetup/install/files/style/alert.less b/wcfsetup/install/files/style/alert.less index 8baef0e17d..68ea46897d 100644 --- a/wcfsetup/install/files/style/alert.less +++ b/wcfsetup/install/files/style/alert.less @@ -43,6 +43,11 @@ } } +.error > .fa-times, +.notice > .fa-times { + float: right; +} + /* types */ .info { background-color: @wcfInfoBackgroundColor; -- 2.20.1