From d3dc9770b5608684e8a9525be2d89a60c62938dc Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 19 Nov 2016 19:44:41 +0100 Subject: [PATCH] Hide message signature in mobile view --- wcfsetup/install/files/style/ui/message.scss | 26 +++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/wcfsetup/install/files/style/ui/message.scss b/wcfsetup/install/files/style/ui/message.scss index 3c20f1b9e4..9117f740b7 100644 --- a/wcfsetup/install/files/style/ui/message.scss +++ b/wcfsetup/install/files/style/ui/message.scss @@ -534,18 +534,26 @@ } } -.messageSignature { - border-top: 1px solid $wcfContentBorderInner; - margin-top: 20px; - opacity: .6; - padding-top: 10px; - transition: opacity .12s linear; +@include screen-sm-down { + .messageSignature { + display: none; + } } -.message:hover .messageSignature { - opacity: 1; +@include screen-md-up { + .messageSignature { + border-top: 1px solid $wcfContentBorderInner; + margin-top: 20px; + opacity: .6; + padding-top: 10px; + transition: opacity .12s linear; + } + + .message:hover .messageSignature { + opacity: 1; + } } - + .messageFooterButtons { @extend .buttonGroup; -- 2.20.1