Skip to content

Commit

Permalink
Remove left pane width transition
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn-Signal committed Oct 14, 2021
1 parent 0faeda2 commit 1f4d01f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions stylesheets/_modules.scss
Expand Up @@ -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 {
Expand Down
5 changes: 4 additions & 1 deletion ts/components/LeftPane.tsx
Expand Up @@ -559,7 +559,10 @@ export const LeftPane: React.FC<PropsType> = ({
tabIndex={-1}
>
<ConversationList
dimensions={contentRect.bounds}
dimensions={{
width,
height: contentRect.bounds?.height || 0,
}}
getRow={getRow}
i18n={i18n}
onClickArchiveButton={showArchivedConversations}
Expand Down

0 comments on commit 1f4d01f

Please sign in to comment.