From 4e5ab22b375470a555314d2b182485a7babde0e7 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 16 Jun 2023 12:45:06 +0200 Subject: [PATCH] Message List: Fix width jump when switching chat on iPad (#3344) --- src/components/middle/MessageList.scss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/middle/MessageList.scss b/src/components/middle/MessageList.scss index a396b5dba..8e5f98788 100644 --- a/src/components/middle/MessageList.scss +++ b/src/components/middle/MessageList.scss @@ -457,11 +457,10 @@ .Transition_slide-from > &, .Transition_slide-to > & { - padding-inline-end: var(--scrollbar-width) !important; + scrollbar-color: transparent !important; - scrollbar-width: none !important; - &::-webkit-scrollbar { - width: 0 !important; + &::-webkit-scrollbar-thumb { + background-color: transparent !important; } } }