From ad7cc032389a3341c6e7af04388de7365a10217a Mon Sep 17 00:00:00 2001 From: Phil Schanely Date: Wed, 17 Aug 2022 10:36:18 -0400 Subject: [PATCH] chore(list): clean up linting and documentation exception --- packages/sage-assets/lib/stylesheets/components/_list.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sage-assets/lib/stylesheets/components/_list.scss b/packages/sage-assets/lib/stylesheets/components/_list.scss index b0f412125b..91f90e8ce2 100644 --- a/packages/sage-assets/lib/stylesheets/components/_list.scss +++ b/packages/sage-assets/lib/stylesheets/components/_list.scss @@ -38,7 +38,9 @@ .sage-list__item--sortable-drag { background-color: sage-color(white); box-shadow: sage-shadow(lg); - opacity: 1 !important; + // NOTE: !important is added and lint-ignored here so that it can override + // inline opacity that the SortableJS utility we're using adds during sorting. + opacity: 1 !important; /* stylelint-disable-line declaration-no-important */ } .sage-list__item--sortable-ghost {