Change announcements to be collapsed on page load in web UI (#12990)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2020-01-28 02:20:47 +01:00
1 parent c2dfd5e4e2
commit 0fcc4b1c56
2 files changed
+5 -4

No files matched your search

@@ -376,7 +376,7 @@ class Announcements extends ImmutablePureComponent {
<img className='announcements__mastodon' alt='' draggable='false' src={mascot || elephantUIPlane} />
<div className='announcements__container'>
<ReactSwipeableViews animateHeight index={index} onChangeIndex={this.handleChangeIndex}>
<ReactSwipeableViews animateHeight={!reduceMotion} adjustHeight={reduceMotion} index={index} onChangeIndex={this.handleChangeIndex}>
{announcements.map(announcement => (
<Announcement
key={announcement.get('id')}