User rank images on mobile devices were misplaced
authorAlexander Ebert <ebert@woltlab.com>
Mon, 2 Jul 2018 11:57:45 +0000 (13:57 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 2 Jul 2018 11:57:45 +0000 (13:57 +0200)
wcfsetup/install/files/style/ui/userProfile.scss

index 08a8bda9a3aa99cf10929291946a3a1f3396d2c6..fc1fcb66822636bc4a4ac00b7f228ddef3b6747a 100644 (file)
                        top: 35px !important;
                }
                
+               .userProfileUsername + .userRankImage {
+                       position: absolute;
+                       top: 32px;
+               }
+               
+               .userProfileUsername + .badge + .userRankImage {
+                       position: relative;
+                       
+                       > img {
+                               transform: translateY(32px);
+                       }
+               }
+               
                .contentHeaderDescription {
                        margin-left: -58px;
                }
                        width: 16px;
                }
        }
-}
\ No newline at end of file
+}