Change announcements to be collapsed on page load in web UI (#12990)
This commit is contained in:
parent
c2dfd5e4e2
commit
0fcc4b1c56
2 changed files with 5 additions and 4 deletions
|
@ -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')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue