diff options
author | ThibG <thib@sitedethib.com> | 2020-01-28 19:38:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 19:38:37 +0100 |
commit | abe2cc489bf421b5bfdf9d804104bb5ba2d1faa6 (patch) | |
tree | df4b6abe95f0e4c9a422eee52ccc03a8571655fe /app/javascript/flavours/glitch/features | |
parent | 67b8af34b3df55ba74a53af731f275d0a4c6d9f8 (diff) | |
parent | 8bb5d1abaad3bec92ac8d9cefcf5b1871429edcb (diff) |
Merge pull request #1272 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r-- | app/javascript/flavours/glitch/features/getting_started/components/announcements.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/getting_started/components/announcements.js b/app/javascript/flavours/glitch/features/getting_started/components/announcements.js index b56d56606..4eeac8560 100644 --- a/app/javascript/flavours/glitch/features/getting_started/components/announcements.js +++ b/app/javascript/flavours/glitch/features/getting_started/components/announcements.js @@ -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')} |