Skip to content

Commit b30df21

Browse files
author
Luke Barnard
committed
Add some CSS for an error popup that appears next to the Manage Integrations button if there was a problem contacting Scalar
1 parent e033ce6 commit b30df21

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ limitations under the License.
2020
}
2121

2222
.mx_RoomSettings_leaveButton,
23-
.mx_RoomSettings_integrationsButton {
23+
.mx_RoomSettings_integrationsButton,
24+
.mx_RoomSettings_integrationsButton_error {
25+
position: relative;
2426
height: 36px;
2527
background-color: #76cfa6;
2628
border-radius: 36px;
@@ -33,6 +35,21 @@ limitations under the License.
3335
padding-left: 12px;
3436
padding-right: 12px;
3537
}
38+
.mx_RoomSettings_integrationsButton_error {
39+
pointer: not-allowed;
40+
}
41+
.mx_RoomSettings_integrationsButton_errorPopup {
42+
position: absolute;
43+
top: 110%;
44+
left: -26%;
45+
width: 150%;
46+
padding: 2%;
47+
font-size: 10pt;
48+
line-height: 1.5em;
49+
border-radius: 5px;
50+
background-color: #000;
51+
color: #fff;
52+
}
3653

3754
.mx_RoomSettings_e2eIcon {
3855
padding-left: 4px;

0 commit comments

Comments
 (0)