Skip to content

Commit ad74d26

Browse files
committed
Selected room highlight teaked to better fit previous design
1 parent 0958a6b commit ad74d26

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

  • src/skins/vector/css/matrix-react-sdk/views/rooms

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ limitations under the License.
2727
padding-top: 6px;
2828
padding-bottom: 6px;
2929
padding-left: 18px;
30+
padding-right: 6px;
3031
width: 24px;
3132
height: 24px;
3233
vertical-align: middle;
@@ -38,8 +39,10 @@ limitations under the License.
3839
vertical-align: middle;
3940
overflow: hidden;
4041
word-break: break-word;
41-
padding-left: 11px;
42+
padding-left: 5px;
4243
padding-right: 15px;
44+
padding-top: 4px;
45+
padding-bottom: 4px;
4346
color: rgba(69, 69, 69, 0.8);
4447
}
4548

@@ -128,14 +131,7 @@ style are the same, this style needs to be AFTER it to take effect when matched
128131
font-weight: bold;
129132
}
130133

131-
.mx_RoomTile_selected .mx_RoomTile_name span {
132-
display: inline-block;
133-
position: relative;
134-
width: 100%;
135-
padding: 4px;
136-
margin-top: -4px;
137-
margin-bottom: -4px;
138-
border-radius: 2px;
134+
.mx_RoomTile_selected .mx_RoomTile_name {
139135
background-color: rgba(118,207,166,0.2);
140136
}
141137

0 commit comments

Comments
 (0)