Skip to content

Commit abc306b

Browse files
authored
Merge pull request element-hq#2554 from vector-im/luke/feature-show-integration-error-popup
Add some CSS for scalar error popup
2 parents 0441fcf + b30df21 commit abc306b

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)