From 2e9ffca3f4e34d72c18360831905a2752559ed8e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 6 Jun 2020 13:13:53 +0200 Subject: [PATCH] Lift limit on maximum number of special trophies Closes #3256 --- com.woltlab.wcf/userGroupOption.xml | 3 +-- wcfsetup/install/files/style/ui/trophy.scss | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) 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; } } -- 2.20.1