mirror of https://github.com/zulip/zulip.git
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:
parent
eacdc13e46
commit
e280e3b074
|
@ -1107,6 +1107,11 @@ input[type=checkbox].inline-block {
|
|||
top: calc(50% - 120px);
|
||||
}
|
||||
|
||||
.modal.fade.in {
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
#id_realm_create_stream_permission {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue