From 1f4d01f21a75ef50043285955fc69a2a17bf433a Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Thu, 14 Oct 2021 16:21:04 -0500 Subject: [PATCH] Remove left pane width transition --- stylesheets/_modules.scss | 6 ------ ts/components/LeftPane.tsx | 5 ++++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index 52f861e15..125d0dde8 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -6246,12 +6246,6 @@ button.module-image__border-overlay:focus { border: 2px solid $color-gray-80; } } - - @media (prefers-reduced-motion: no-preference) { - &:not(.module-left-pane--is-resizing) { - transition: width 200ms cubic-bezier(0.17, 0.17, 0, 1); - } - } } .module-left-pane__empty { diff --git a/ts/components/LeftPane.tsx b/ts/components/LeftPane.tsx index a261b7d12..0db539685 100644 --- a/ts/components/LeftPane.tsx +++ b/ts/components/LeftPane.tsx @@ -559,7 +559,10 @@ export const LeftPane: React.FC = ({ tabIndex={-1} >