Respect users's "reduced motion" preference for smooth scrolling

This commit is contained in:
Evan Hahn 2021-03-15 13:50:22 -05:00 committed by Josh Perez
parent 62e04a1bbd
commit 8ee653f252
3 changed files with 15 additions and 3 deletions

View file

@ -2,6 +2,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
.module-ContactPills {
@include smooth-scroll;
display: flex;
flex-wrap: wrap;
margin-bottom: 10px;
@ -9,7 +11,6 @@
overflow-x: hidden;
overflow-y: scroll;
padding-left: 12px;
scroll-behavior: smooth;
.module-ContactPill {
margin: 4px 6px;