Skip to content

Commit 7509747

Browse files
authored
Merge pull request element-hq#3227 from vector-im/dbkr/add_unban_button
CSS for un-ban button in RoomSettings
2 parents f265461 + 8224d7f commit 7509747

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
Copyright 2015, 2016 OpenMarket Ltd
3+
Copyright 2017 Vector Creations Ltd
34
45
Licensed under the Apache License, Version 2.0 (the "License");
56
you may not use this file except in compliance with the License.
@@ -20,6 +21,7 @@ limitations under the License.
2021
}
2122

2223
.mx_RoomSettings_leaveButton,
24+
.mx_RoomSettings_unbanButton,
2325
.mx_RoomSettings_integrationsButton,
2426
.mx_RoomSettings_integrationsButton_error {
2527
position: relative;
@@ -30,11 +32,15 @@ limitations under the License.
3032
color: $accent-fg-color;
3133
line-height: 34px;
3234
text-align: center;
33-
float: right;
3435
cursor: pointer;
3536
padding-left: 12px;
3637
padding-right: 12px;
3738
}
39+
.mx_RoomSettings_leaveButton,
40+
.mx_RoomSettings_integrationsButton,
41+
.mx_RoomSettings_integrationsButton_error {
42+
float: right;
43+
}
3844
.mx_RoomSettings_integrationsButton_error {
3945
pointer: not-allowed;
4046
}
@@ -50,6 +56,9 @@ limitations under the License.
5056
background-color: $accent-color;
5157
color: $accent-fg-color;
5258
}
59+
.mx_RoomSettings_unbanButton {
60+
display: inline;
61+
}
5362

5463
.mx_RoomSettings_e2eIcon {
5564
padding-left: 4px;
@@ -227,4 +236,4 @@ limitations under the License.
227236
padding: 6px;
228237
padding-left: 1em;
229238
padding-right: 1em;
230-
}
239+
}

0 commit comments

Comments
 (0)