From 6c1639b2ce8396f3b2409f7f14a5814862fe993a Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 17 Dec 2018 14:03:28 +0100 Subject: [PATCH 1/3] dont hardcode avatar container dimensions --- res/css/views/rooms/_RoomTile.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/res/css/views/rooms/_RoomTile.scss b/res/css/views/rooms/_RoomTile.scss index a15f9f3186..7dd302e1e8 100644 --- a/res/css/views/rooms/_RoomTile.scss +++ b/res/css/views/rooms/_RoomTile.scss @@ -51,8 +51,6 @@ limitations under the License. .mx_RoomTile_avatar { flex: 0; padding: 4px; - width: 32px; - height: 32px; } .mx_RoomTile_avatar_container { From 242b0c21acfde351f48d1b0bb969a58000dc8e61 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 17 Dec 2018 14:03:48 +0100 Subject: [PATCH 2/3] make avatar 24px and tile height 32px --- res/css/views/rooms/_RoomTile.scss | 2 +- src/components/views/rooms/RoomTile.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/css/views/rooms/_RoomTile.scss b/res/css/views/rooms/_RoomTile.scss index 7dd302e1e8..2a79599606 100644 --- a/res/css/views/rooms/_RoomTile.scss +++ b/res/css/views/rooms/_RoomTile.scss @@ -19,7 +19,7 @@ limitations under the License. flex-direction: row; align-items: center; cursor: pointer; - height: 40px; + height: 32px; margin: 0; padding: 0 8px 0 10px; position: relative; diff --git a/src/components/views/rooms/RoomTile.js b/src/components/views/rooms/RoomTile.js index faa08c7001..4e05fbcb8b 100644 --- a/src/components/views/rooms/RoomTile.js +++ b/src/components/views/rooms/RoomTile.js @@ -333,7 +333,7 @@ module.exports = React.createClass({ >
- + { dmIndicator }
From 0496ed535c23f764c430393b3e7cd9086d6d1dc6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 17 Dec 2018 14:35:11 +0100 Subject: [PATCH 3/3] have a bit more space between rooms --- res/css/views/rooms/_RoomTile.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/views/rooms/_RoomTile.scss b/res/css/views/rooms/_RoomTile.scss index 2a79599606..d5ec3d365a 100644 --- a/res/css/views/rooms/_RoomTile.scss +++ b/res/css/views/rooms/_RoomTile.scss @@ -19,7 +19,7 @@ limitations under the License. flex-direction: row; align-items: center; cursor: pointer; - height: 32px; + height: 34px; margin: 0; padding: 0 8px 0 10px; position: relative;