From 8f2f10715b93f023dd0a75c2cc8021cb28b8a08a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 9 Jul 2014 00:47:37 +0200 Subject: [PATCH] Style optimizations --- com.woltlab.wcf/templates/authorSidebarBox.tpl | 2 +- com.woltlab.wcf/templates/dashboardBoxStatsSidebar.tpl | 2 +- com.woltlab.wcf/templates/userInformationStatistics.tpl | 2 +- wcfsetup/install/files/style/layout.less | 7 ++++++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/com.woltlab.wcf/templates/authorSidebarBox.tpl b/com.woltlab.wcf/templates/authorSidebarBox.tpl index 8d348fea17..df16d0dbbe 100644 --- a/com.woltlab.wcf/templates/authorSidebarBox.tpl +++ b/com.woltlab.wcf/templates/authorSidebarBox.tpl @@ -11,7 +11,7 @@ {if $userProfile->userID} - {include file='userInformationStatistics' user=$userProfile} + {include file='userInformationStatistics' user=$userProfile __userStatsClassname='dataList'} {/if} diff --git a/com.woltlab.wcf/templates/dashboardBoxStatsSidebar.tpl b/com.woltlab.wcf/templates/dashboardBoxStatsSidebar.tpl index b17a65be17..9c63dba45b 100644 --- a/com.woltlab.wcf/templates/dashboardBoxStatsSidebar.tpl +++ b/com.woltlab.wcf/templates/dashboardBoxStatsSidebar.tpl @@ -1,4 +1,4 @@ -
+
{lang}wcf.user.members{/lang}
{#$dashboardStats[members]}
diff --git a/com.woltlab.wcf/templates/userInformationStatistics.tpl b/com.woltlab.wcf/templates/userInformationStatistics.tpl index 2363e03f15..7a22954328 100644 --- a/com.woltlab.wcf/templates/userInformationStatistics.tpl +++ b/com.woltlab.wcf/templates/userInformationStatistics.tpl @@ -1,4 +1,4 @@ -
+
{event name='statistics'} {if MODULE_LIKE && $user->likesReceived} diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index a320c1de6b..49c38bda99 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -1949,7 +1949,7 @@ dl.inlineDataList { dl.dataList { dt { color: @wcfDimmedColor; - clear: both; + clear: right; float: left; margin-right: @wcfGapTiny; text-align: left; @@ -2265,6 +2265,11 @@ ul.inlineDataList { } } + dl.dataList { + font-size: @wcfSmallFontSize; + } + + /* @deprecated */ dl.inlineDataList { font-size: @wcfSmallFontSize; -- 2.20.1