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>2019-06-11 19:04:32 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-06-11 19:19:55 +0300
commitde2039ee5faa0519167488c838ad9159e4c99365 (patch)
treef870c3f5e1f2b6166a7c10a3f105cab54d838331 /css/publicshareauth.scss
parent8c875c36f988ee4cf1aff56cbd5be2f289fa4c6c (diff)
Fix message dates in public share authentication page
The chat messages are expected to have the full width of its content row, except for some space used for the date. However, as chat messages are left padded that padding must be included too in the width; otherwise there could be no room for the date. This is only a problem in the public share authentication page, as apps use by default "box-sizing: border-box" in all its elements. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css/publicshareauth.scss')
-rw-r--r--css/publicshareauth.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/css/publicshareauth.scss b/css/publicshareauth.scss
index 9824459af..2e5cee455 100644
--- a/css/publicshareauth.scss
+++ b/css/publicshareauth.scss
@@ -216,6 +216,12 @@ input#request-password-button:disabled ~ .icon {
margin-top: 0;
}
+#talk-sidebar #chatView .comments .message {
+ /* The messages are left padded, but they also use "width: calc(100%...", so
+ * the padding should be included in the full width of the element. */
+ box-sizing: border-box;
+}
+
#talk-sidebar #chatView .newCommentForm.with-add-button {
/* Make room to show the "Add" button if needed. */
margin-right: 44px;