Fix padding offset bug for inverse

This commit is contained in:
JC Brand 2018-03-26 17:54:56 +02:00
parent 5e8843e8bd
commit 108bd03e3a
2 changed files with 15 additions and 18 deletions

View File

@ -7202,21 +7202,20 @@ body {
padding-right: 10%; padding-right: 10%;
font-size: 120%; } font-size: 120%; }
#conversejs.fullscreen { #conversejs.fullscreen .converse-chatboxes {
margin-left: -15px; } width: 100vw;
#conversejs.fullscreen .converse-chatboxes { right: 15px; }
width: 100vw; } #conversejs.fullscreen form.converse-form {
#conversejs.fullscreen form.converse-form { margin: 1em; }
margin: 1em; } #conversejs.fullscreen form.converse-form input[type=checkbox] {
#conversejs.fullscreen form.converse-form input[type=checkbox] { margin-left: 1em;
margin-left: 1em; display: inline;
display: inline; margin-bottom: 2em; }
margin-bottom: 2em; } #conversejs.fullscreen form.converse-form input[type=button],
#conversejs.fullscreen form.converse-form input[type=button], #conversejs.fullscreen form.converse-form input[type=submit] {
#conversejs.fullscreen form.converse-form input[type=submit] { padding-left: 1em;
padding-left: 1em; padding-right: 1em;
padding-right: 1em; margin-right: 1em; }
margin-right: 1em; }
#conversejs #user-profile-modal label { #conversejs #user-profile-modal label {
font-weight: bold; } font-weight: bold; }

View File

@ -38,11 +38,9 @@ body {
.converse-chatboxes { .converse-chatboxes {
width: 100vw; width: 100vw;
right: 15px; // Hack due to padding added by bootstrap
} }
// XXX: why is this neccessary?
margin-left: -15px;
form { form {
&.converse-form { &.converse-form {
margin: 1em; margin: 1em;