From 182bd120a7868b08dadcf83eedd995472aabdea5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 26 Jul 2013 14:51:34 +0200 Subject: [PATCH] Mobile optimizations --- wcfsetup/install/files/style/comment.less | 24 ++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/comment.less b/wcfsetup/install/files/style/comment.less index a450df1a7d..219bbf8b18 100644 --- a/wcfsetup/install/files/style/comment.less +++ b/wcfsetup/install/files/style/comment.less @@ -24,7 +24,6 @@ } .commentResponseList .buttonGroupNavigation { - top: @wcfGapSmall; right: @wcfGapSmall; } @@ -107,8 +106,31 @@ margin-top: 0; } +.commentResponseContent { + position: relative; +} + /* like display */ .commentList .likesBadge { display: inline-block; margin: -2px 0 -2px @wcfGapTiny; } + +@media only screen and (max-width: 800px) { + .commentList .buttonGroupNavigation { + top: 1px; + right: 7px; + } + + .commentResponseList .buttonGroupNavigation { + right: 0; + } + + .commentList .containerHeadline > h3 { + padding-right: 35px; + } + + .commentResponseContent > .containerHeadline > h3 { + padding-right: 28px; + } +} \ No newline at end of file -- 2.20.1