Minor improvements to the mobile message view
authorAlexander Ebert <ebert@woltlab.com>
Wed, 26 Jul 2017 10:25:40 +0000 (12:25 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 26 Jul 2017 10:25:45 +0000 (12:25 +0200)
wcfsetup/install/files/style/ui/message.scss

index 2412c856c89c51352f4343d3f4208766354b988b..abda7eff56c3d2b4638c0e31874d8fb973f2229f 100644 (file)
                
                .messageAuthor {
                        flex: 0 0 auto;
+                       /* equals the height of the avatar */
+                       min-height: 48px;
                        position: relative;
                        
                        .userAvatar {
                        .userRank {
                                margin-left: 58px;
                        }
+                       
+                       /* force username to be vertically centered for quick reply */
+                       .messageAuthorContainer:last-child {
+                               align-items: center;
+                               display: flex;
+                               height: 100%;
+                               position: absolute;
+                       }
                }
                
                .userCredits {