Selected room highlight teaked to better fit previous design

This commit is contained in:
wmwragg 2016-07-21 11:37:40 +01:00
parent 0958a6bb62
commit ad74d264a3

View File

@ -27,6 +27,7 @@ limitations under the License.
padding-top: 6px; padding-top: 6px;
padding-bottom: 6px; padding-bottom: 6px;
padding-left: 18px; padding-left: 18px;
padding-right: 6px;
width: 24px; width: 24px;
height: 24px; height: 24px;
vertical-align: middle; vertical-align: middle;
@ -38,8 +39,10 @@ limitations under the License.
vertical-align: middle; vertical-align: middle;
overflow: hidden; overflow: hidden;
word-break: break-word; word-break: break-word;
padding-left: 11px; padding-left: 5px;
padding-right: 15px; padding-right: 15px;
padding-top: 4px;
padding-bottom: 4px;
color: rgba(69, 69, 69, 0.8); color: rgba(69, 69, 69, 0.8);
} }
@ -128,14 +131,7 @@ style are the same, this style needs to be AFTER it to take effect when matched
font-weight: bold; font-weight: bold;
} }
.mx_RoomTile_selected .mx_RoomTile_name span { .mx_RoomTile_selected .mx_RoomTile_name {
display: inline-block;
position: relative;
width: 100%;
padding: 4px;
margin-top: -4px;
margin-bottom: -4px;
border-radius: 2px;
background-color: rgba(118,207,166,0.2); background-color: rgba(118,207,166,0.2);
} }