Skip to content

Commit 7529343

Browse files
authored
Merge pull request element-hq#4776 from shvchk/patch-2
Make member device info buttons fluid and stackable with flexbox
2 parents 535e335 + a72fc80 commit 7529343

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_MemberDeviceInfo.scss‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ limitations under the License.
1818
padding: 10px 0px;
1919
}
2020

21+
.mx_MemberDeviceInfo.mx_DeviceVerifyButtons {
22+
padding: 6px 0;
23+
display: flex;
24+
flex-wrap: wrap;
25+
justify-content: space-between;
26+
}
2127

2228
.mx_MemberDeviceInfo_textButton {
2329
color: $accent-fg-color;
@@ -26,12 +32,11 @@ limitations under the License.
2632
text-align: center;
2733
padding-left: 1em;
2834
padding-right: 1em;
29-
width: 95px;
3035
border: 0px;
3136
font-size: 14px;
32-
3337
cursor: pointer;
34-
display: inline;
38+
margin: 2px;
39+
flex: 1;
3540
}
3641

3742
.mx_MemberDeviceInfo_deviceId {
@@ -44,11 +49,6 @@ limitations under the License.
4449
border-bottom: 1px solid rgba(0,0,0,0.1);
4550
}
4651

47-
.mx_MemberDeviceInfo_blacklist,
48-
.mx_MemberDeviceInfo_unblacklist {
49-
float: right;
50-
}
51-
5252
/* "Unblacklist" is too long for a regular button: make it wider and
5353
reduce the padding. */
5454
.mx_EncryptedEventDialog .mx_MemberDeviceInfo_blacklist,

0 commit comments

Comments
 (0)