Skip to content

Commit 195395e

Browse files
author
Luke Barnard
committed
Adjust CSS for groupRoomTile and add QuestionDialog right padding
(The confirmation dialog for removing a room needed padding)
1 parent 014464d commit 195395e

4 files changed

Lines changed: 27 additions & 3 deletions

File tree

‎src/skins/vector/css/_components.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
@import "./matrix-react-sdk/views/dialogs/_ConfirmUserActionDialog.scss";
2222
@import "./matrix-react-sdk/views/dialogs/_CreateGroupDialog.scss";
2323
@import "./matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss";
24+
@import "./matrix-react-sdk/views/dialogs/_QuestionDialog.scss";
2425
@import "./matrix-react-sdk/views/dialogs/_SetMxIdDialog.scss";
2526
@import "./matrix-react-sdk/views/dialogs/_UnknownDeviceDialog.scss";
2627
@import "./matrix-react-sdk/views/elements/_AccessibleButton.scss";
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
Copyright 2017 New Vector Ltd.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
.mx_QuestionDialog {
17+
padding-right: 58px;
18+
}

‎src/skins/vector/css/matrix-react-sdk/views/groups/_GroupRoomList.scss‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
.mx_GroupRoomTile {
18+
position: relative;
19+
color: $primary-fg-color;
20+
cursor: pointer;
21+
}
22+
1723
.mx_GroupRoomTile_delete {
1824
opacity: 0.4;
19-
position: relative;
25+
position: absolute;
2026
top: 6px;
2127
right: 10px;
2228
cursor: pointer;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
.mx_EntityTile,
18-
.mx_GroupRoomTile {
17+
.mx_EntityTile {
1918
display: table-row;
2019
position: relative;
2120
color: $primary-fg-color;

0 commit comments

Comments
 (0)