Merge pull request #2558 from matrix-org/bwindels/fixunknowndialog

fix UnknownDeviceDialog layout
This commit is contained in:
Bruno Windels 2019-02-01 17:56:03 +00:00 committed by GitHub
commit 62f59f8cef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -28,6 +28,10 @@ limitations under the License.
flex-direction: column; flex-direction: column;
} }
.mx_UnknownDeviceDialog .mx_DeviceVerifyButtons {
float: right;
}
.mx_UnknownDeviceDialog .mx_Dialog_content { .mx_UnknownDeviceDialog .mx_Dialog_content {
margin-bottom: 24px; margin-bottom: 24px;
} }

View file

@ -32,8 +32,8 @@ function DeviceListEntry(props) {
return ( return (
<li> <li>
<DeviceVerifyButtons device={device} userId={userId} />
{ device.deviceId } { device.deviceId }
<DeviceVerifyButtons device={device} userId={userId} />
<br /> <br />
{ device.getDisplayName() } { device.getDisplayName() }
</li> </li>