From 7245a9ad48df6b065acc80e8ac505012aa4135a5 Mon Sep 17 00:00:00 2001 From: Brandon Tabaska Date: Fri, 23 Aug 2024 10:24:48 -0400 Subject: [PATCH] [Issue #170] Remove inline styling from pagination wrapper component (#173) ## Summary Fixes #170 ### Time to review: __2 mins__ ## Changes proposed > Removed inline styling on component ## Context for reviewers > Ended up having to create a custom loading style for pagination due to no support from USWDS on this. Honestly though IDK why we don't just hide pagination during loading... ## Additional information > Screenshots, GIF demos, code examples or output to help show the changes working as expected. ![2024-08-08 13 59 02](https://github.com/user-attachments/assets/04994a3f-a48e-4511-839d-aa686a7f1414) --- frontend/src/components/search/SearchPagination.tsx | 7 +------ frontend/src/styles/_loading.scss | 10 ++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/search/SearchPagination.tsx b/frontend/src/components/search/SearchPagination.tsx index a23a30ea1..b69971863 100644 --- a/frontend/src/components/search/SearchPagination.tsx +++ b/frontend/src/components/search/SearchPagination.tsx @@ -41,12 +41,7 @@ export default function SearchPagination({ }; return ( -
+
*, + & * { + user-select: none; + pointer-events: none; + } +}