settings: Properly center deactivation modal.

This properly vertically centers the deactivation modal in the
user settings section by setting the top to 50% and the transform
to -50% (50% of the height of the actual modal).

This is an alternate solution to #7888, which just removes the
animation, breaking the normal modal behavior.
This commit is contained in:
Brock Whittaker 2018-01-11 12:05:04 -08:00 committed by Tim Abbott
parent eacdc13e46
commit e280e3b074
1 changed files with 5 additions and 0 deletions

View File

@ -1107,6 +1107,11 @@ input[type=checkbox].inline-block {
top: calc(50% - 120px); top: calc(50% - 120px);
} }
.modal.fade.in {
top: 50%;
transform: translateY(-50%);
}
#id_realm_create_stream_permission { #id_realm_create_stream_permission {
width: 100%; width: 100%;
} }