From 6a6138982ab04ee559e62e8c290435cb74e49bb6 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 31 Jan 2017 17:15:29 +0100 Subject: [PATCH] Fixed multiple issues caused by user rank images in message sidebar --- wcfsetup/install/files/style/ui/message.scss | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/wcfsetup/install/files/style/ui/message.scss b/wcfsetup/install/files/style/ui/message.scss index d7b67cf574..0711d77537 100644 --- a/wcfsetup/install/files/style/ui/message.scss +++ b/wcfsetup/install/files/style/ui/message.scss @@ -141,14 +141,9 @@ .userAvatar { display: block; margin: 0; - position: static; - - > a { - left: 0; - position: absolute; - top: 50%; - transform: translateY(-50%); - } + position: absolute; + top: 50%; + transform: translateY(-50%); .userAvatarImage { max-height: 48px; @@ -157,7 +152,8 @@ } .messageAuthorContainer, - .userTitle { + .userTitle, + .userRank { margin-left: 58px; } } @@ -211,6 +207,7 @@ @include screen-sm-down { color: transparent; padding: 0; + top: 0; width: 0; &::before { @@ -225,6 +222,10 @@ } } } + + .userTitle + .userRank { + margin-top: 3px; + } } .messageAuthor + * { -- 2.20.1