support scrollable content for UnknownDeviceDialog

This commit is contained in:
Matthew Hodgson 2017-02-02 00:25:49 +00:00
parent c09d173415
commit 5e5b7f89f4
4 changed files with 7 additions and 6 deletions

View file

@ -177,7 +177,7 @@ class ModalManager {
var modal = this._modals[0];
var dialog = (
<div className={"mx_Dialog_wrapper " + modal.className}>
<div className={"mx_Dialog_wrapper " + (modal.className ? modal.className : '') }>
<div className="mx_Dialog">
{modal.elem}
</div>