From 7d8a80279e8d0989e6ef7ce582295c9338360a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Tue, 27 Nov 2018 11:22:05 +0100 Subject: Fix appearance of message list in public share authentication page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "guest.scss" in server sets the "width" and "margin-top" properties of ".wrapper" elements to position the main content of the public share authentication page. However, as the selector used in the rule is too broad it is also applied to the internal wrapper of the virtual list, so the properties need to be reset in that case. Besides that, the padding of the message list is ignored when using the virtual list, so that padding needs to be applied through the "left" and "right" properties of the internal wrapper of the virtual list. Signed-off-by: Daniel Calviño Sánchez --- css/publicshareauth.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'css/publicshareauth.scss') diff --git a/css/publicshareauth.scss b/css/publicshareauth.scss index ef16ef88c..f077f3fc1 100644 --- a/css/publicshareauth.scss +++ b/css/publicshareauth.scss @@ -201,6 +201,20 @@ input#request-password-button:disabled ~ .icon { padding-right: 15px; } +#talk-sidebar #commentsTabView .comments .wrapper-background, +#talk-sidebar #commentsTabView .comments .wrapper { + /* Padding is not respected in the comment wrapper due to its absolute + * positioning, so it must be set through its position. */ + left: 15px; + right: 15px; +} + +#talk-sidebar #commentsTabView .comments .wrapper { + /* Reset the rules set for ".wrapper" elements by "guest.scss" in server, as + * they affect too the virtual list wrapper when they should not. */ + width: auto; + margin-top: 0; +} /* Unset conflicting rules from guest.css for the sidebar */ -- cgit v1.2.3