Open platform to collect and prioritize feedback
Scrollbars would always be visible in the `VotesModal` component (#1134)
Ikb4a03ae8666f
diff --git a/public/assets/styles/utility/display.scss b/public/assets/styles/utility/display.scssindex 6c283adef..814c5db7e 100644--- a/public/assets/styles/utility/display.scss+++ b/public/assets/styles/utility/display.scss@@ -180,6 +180,10 @@overflow: scroll;}+.overflow-auto {+ overflow: auto;+}+.border {border: 1px solid transparent;}diff --git a/public/pages/ShowPost/components/VotesModal.tsx b/public/pages/ShowPost/components/VotesModal.tsxindex 12c801124..770a8c7f7 100644--- a/public/pages/ShowPost/components/VotesModal.tsx+++ b/public/pages/ShowPost/components/VotesModal.tsx@@ -64,7 +64,7 @@ export const VotesModal: React.FC<VotesModalProps> = (props) => {value={query}onChange={handleSearchFilterChanged}/>- <VStack spacing={2} className="h-max-5xl overflow-scroll">+ <VStack spacing={2} className="h-max-5xl overflow-auto">{filteredVotes.map((x) => (<HStack key={x.user.id} justify="between"><HStack>