Remove left pane width transition

This commit is contained in:
Evan Hahn 2021-10-14 16:21:04 -05:00 committed by GitHub
parent 0faeda28f0
commit 1f4d01f21a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -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 {

View File

@ -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}