From: Alexander Ebert Date: Wed, 26 Jul 2017 10:25:40 +0000 (+0200) Subject: Minor improvements to the mobile message view X-Git-Tag: 3.1.0_Alpha_1~189 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45f579e57dc5283a70ecc2dde451191cee2132ce;p=GitHub%2FWoltLab%2FWCF.git Minor improvements to the mobile message view --- diff --git a/wcfsetup/install/files/style/ui/message.scss b/wcfsetup/install/files/style/ui/message.scss index 2412c856c8..abda7eff56 100644 --- a/wcfsetup/install/files/style/ui/message.scss +++ b/wcfsetup/install/files/style/ui/message.scss @@ -146,6 +146,8 @@ .messageAuthor { flex: 0 0 auto; + /* equals the height of the avatar */ + min-height: 48px; position: relative; .userAvatar { @@ -166,6 +168,14 @@ .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 {