From d050c0070347f313d0fbb3950210cefe110fc34e Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Tue, 12 Oct 2021 10:30:36 +0100
Subject: [PATCH] Fix room list skeleton ui for narrow room list

---
 res/css/views/rooms/_RoomSublist.scss | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/res/css/views/rooms/_RoomSublist.scss b/res/css/views/rooms/_RoomSublist.scss
index 315ce08da5..0cf5f5a9e0 100644
--- a/res/css/views/rooms/_RoomSublist.scss
+++ b/res/css/views/rooms/_RoomSublist.scss
@@ -406,3 +406,8 @@ limitations under the License.
         mask-image: url('$(res)/img/element-icons/roomlist/skeleton-ui.svg');
     }
 }
+
+.mx_RoomSublist_minimized .mx_RoomSublist_skeletonUI {
+    width: 32px; // cut off the horizontal lines in the svg
+    margin-left: 10px; // align with sublist + buttons
+}