diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-06-11 19:04:32 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-06-11 19:19:55 +0300 |
commit | de2039ee5faa0519167488c838ad9159e4c99365 (patch) | |
tree | f870c3f5e1f2b6166a7c10a3f105cab54d838331 /css | |
parent | 8c875c36f988ee4cf1aff56cbd5be2f289fa4c6c (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')
-rw-r--r-- | css/publicshareauth.scss | 6 |
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; |