From 3d5395e784385a16fcb46d836e5fadb9679f6847 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 22 Oct 2018 18:17:51 +0200 Subject: [PATCH] tweak paddings and margins on room tile --- res/css/views/rooms/_RoomTile.scss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/res/css/views/rooms/_RoomTile.scss b/res/css/views/rooms/_RoomTile.scss index 93dcd7a303..e211ba8393 100644 --- a/res/css/views/rooms/_RoomTile.scss +++ b/res/css/views/rooms/_RoomTile.scss @@ -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; }