From: Marcel Werk Date: Sat, 6 Jun 2020 11:13:53 +0000 (+0200) Subject: Lift limit on maximum number of special trophies X-Git-Tag: 5.3.0_Alpha_1~231 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e9ffca3f4e34d72c18360831905a2752559ed8e;p=GitHub%2FWoltLab%2FWCF.git Lift limit on maximum number of special trophies Closes #3256 --- diff --git a/com.woltlab.wcf/userGroupOption.xml b/com.woltlab.wcf/userGroupOption.xml index d99d4f700e..9fd4679bf1 100644 --- a/com.woltlab.wcf/userGroupOption.xml +++ b/com.woltlab.wcf/userGroupOption.xml @@ -798,10 +798,9 @@ png diff --git a/wcfsetup/install/files/style/ui/trophy.scss b/wcfsetup/install/files/style/ui/trophy.scss index 0335c27cc6..342daf6dce 100644 --- a/wcfsetup/install/files/style/ui/trophy.scss +++ b/wcfsetup/install/files/style/ui/trophy.scss @@ -60,14 +60,19 @@ } } +/* trophies in message sidebar */ .specialTrophyContainer { margin-top: 10px; > ul { display: flex; justify-content: center; + flex-wrap: wrap; + margin-bottom: -5px; + margin-right: -5px; - > li:not(:last-child) { + > li { + margin-bottom: 5px; margin-right: 5px; } } @@ -79,12 +84,16 @@ } } +/* trophies in user profile header */ .specialTrophyUserContainer > ul { + align-items: center; display: flex; + flex-wrap: wrap; + margin-right: -5px; margin-top: -15px; - margin-bottom: 5px; - > li:not(:last-child) { + > li { + margin-bottom: 5px; margin-right: 5px; } }