diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-04-09 10:29:10 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-04-09 18:56:06 +0300 |
commit | 2c78011e58cee2019adf1ed8500a83ca6503a0ad (patch) | |
tree | 3bc31d128a5fa706d57f1abe29e0672de567a9be /css/publicshareauth.scss | |
parent | a1473c984df9ca960f44b4bb7fb2df321ca712bb (diff) |
Fix misplaced chat view in public share auth page
When the current participant is a logged in user the "Add" button is
shown in the chat view, and due to some arcane CSS magic that button
caused the chat view to be moved to the left (instead of simply
appearing to the right of the message input, wherever that be). The same
arcane CSS magic causes everything to look fine when using the same
approach as in the sidebar of the regular Talk UI, that is, applying a
"margin-right" to the form to make room for the "Add" button, so that
margin is now applied in the public share auth page when needed (that
is, when the user is logged in).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css/publicshareauth.scss')
-rw-r--r-- | css/publicshareauth.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/css/publicshareauth.scss b/css/publicshareauth.scss index 84e3294c3..a79bdeffb 100644 --- a/css/publicshareauth.scss +++ b/css/publicshareauth.scss @@ -216,6 +216,10 @@ input#request-password-button:disabled ~ .icon { margin-top: 0; } +#talk-sidebar #chatView .newCommentForm.with-add-button { + /* Make room to show the "Add" button if needed. */ + margin-right: 44px; +} /* Unset conflicting rules from guest.css for the sidebar */ #talk-sidebar { |