Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-27 13:22:05 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-27 13:23:18 +0300
commit7d8a80279e8d0989e6ef7ce582295c9338360a4e (patch)
tree99b6418b32c2085140370845c29b9e01b7b4f672 /css/publicshareauth.scss
parentdd9f31b4bb238a994036915b9651ef2377126830 (diff)
Fix appearance of message list in public share authentication page
"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 <danxuliu@gmail.com>
Diffstat (limited to 'css/publicshareauth.scss')
-rw-r--r--css/publicshareauth.scss14
1 files changed, 14 insertions, 0 deletions
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 */