tweak paddings and margins on room tile

pull/21833/head
Bruno Windels 2018-10-22 18:17:51 +02:00
parent 521e035bf0
commit 3d5395e784
1 changed files with 9 additions and 6 deletions

View File

@ -20,7 +20,8 @@ limitations under the License.
align-items: center;
cursor: pointer;
height: 40px;
margin: 0px 3px;
margin: 0 12px;
padding: 2px 12px;
position: relative;
background-color: $secondary-accent-color;
}
@ -34,10 +35,7 @@ limitations under the License.
.mx_RoomTile_avatar {
flex: 0;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 14px;
padding-right: 12px;
padding: 4px;
width: 32px;
height: 32px;
}
@ -56,7 +54,7 @@ limitations under the License.
.mx_RoomTile_name {
flex: 1 5 auto;
font-size: 14px;
font-size: 16px;
font-weight: 600;
padding: 6px;
color: $roomtile-name-color;
@ -70,6 +68,11 @@ limitations under the License.
}
.collapsed {
.mx_RoomTile {
margin: 2px;
padding: 2px 0 2px 12px;
}
.mx_RoomTile_name {
display: none;
}