From deaddd53362639974e685b61b4de619afc25ae5d Mon Sep 17 00:00:00 2001 From: Lo Kim Date: Fri, 29 Mar 2024 12:30:46 -0400 Subject: [PATCH] [EmptyState] Fix lint errors --- .../src/components/EmptyState/EmptyState.module.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/polaris-react/src/components/EmptyState/EmptyState.module.css b/polaris-react/src/components/EmptyState/EmptyState.module.css index 06a0f0a116b..be439cc1f8d 100644 --- a/polaris-react/src/components/EmptyState/EmptyState.module.css +++ b/polaris-react/src/components/EmptyState/EmptyState.module.css @@ -15,21 +15,24 @@ } .SkeletonImageContainer { - /* stylelint-disable-next-line -- Polaris component custom property */ + /* stylelint-disable -- container custom property for size */ --pc-empty-state-skeleton-image-container-size: 226px; display: flex; align-items: center; justify-content: center; height: var(--pc-empty-state-skeleton-image-container-size); width: var(--pc-empty-state-skeleton-image-container-size); + /* stylelint-enable -- container custom property for size */ } .SkeletonImage { + /* stylelint-disable -- container custom property for placeholder size */ --pc-empty-state-skeleton-image-size: 145px; background-color: var(--p-color-bg-fill-secondary); border-radius: var(--p-border-radius-full); height: var(--pc-empty-state-skeleton-image-size); width: var(--pc-empty-state-skeleton-image-size); + /* stylelint-enable -- container custom property for placeholder size */ @media screen and (-ms-high-contrast: active) { background-color: grayText;