From 015c14237de9c65a58573147d38f0d1351d8447e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 30 Jan 2019 11:20:20 +0100 Subject: [PATCH 1/2] stretch device label in member info if content doesn't fill it --- res/css/views/rooms/_MemberDeviceInfo.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/res/css/views/rooms/_MemberDeviceInfo.scss b/res/css/views/rooms/_MemberDeviceInfo.scss index 9fabd9153e..523635bb1a 100644 --- a/res/css/views/rooms/_MemberDeviceInfo.scss +++ b/res/css/views/rooms/_MemberDeviceInfo.scss @@ -42,6 +42,7 @@ limitations under the License. .mx_MemberDeviceInfo_deviceInfo { margin: 0 5px 5px 8px; + flex: 1; } /* "Unblacklist" is too long for a regular button: make it wider and From 3f7f984536e0a4ab74baa775ab7f36586837c024 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 30 Jan 2019 11:23:31 +0100 Subject: [PATCH 2/2] also don't stretch buttons when text is larger --- res/css/views/rooms/_MemberDeviceInfo.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/res/css/views/rooms/_MemberDeviceInfo.scss b/res/css/views/rooms/_MemberDeviceInfo.scss index 523635bb1a..6ccc4c7ae3 100644 --- a/res/css/views/rooms/_MemberDeviceInfo.scss +++ b/res/css/views/rooms/_MemberDeviceInfo.scss @@ -17,6 +17,7 @@ limitations under the License. .mx_MemberDeviceInfo { display: flex; padding-bottom: 10px; + align-items: start; } .mx_MemberDeviceInfo > .mx_DeviceVerifyButtons {