Fixed multiple issues caused by user rank images in message sidebar
authorMarcel Werk <burntime@woltlab.com>
Tue, 31 Jan 2017 16:15:29 +0000 (17:15 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 31 Jan 2017 16:15:29 +0000 (17:15 +0100)
wcfsetup/install/files/style/ui/message.scss

index d7b67cf574763e9507ae53ac3de746c4a18c4496..0711d77537d8130695e4f802f4122f99e868bdda 100644 (file)
                        .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;
                        }
                        
                        .messageAuthorContainer,
-                       .userTitle {
+                       .userTitle,
+                       .userRank {
                                margin-left: 58px;
                        }
                }
                @include screen-sm-down {
                        color: transparent;
                        padding: 0;
+                       top: 0;
                        width: 0;
                        
                        &::before {
                        }
                }
        }
+       
+       .userTitle + .userRank {
+               margin-top: 3px;
+       }
 }
 
 .messageAuthor + * {