From ed6c14bf90fbfc8d6d47a7bd77307289abc1d628 Mon Sep 17 00:00:00 2001 From: aditya Date: Tue, 12 Sep 2023 12:07:11 -0400 Subject: [PATCH] chore: multiple changes based on design and usability feedback (#1891) --- .../client/src/components/GrantsTableNext.vue | 22 +- .../components/Modals/SavedSearchPanel.vue | 165 ++++--- .../src/components/Modals/SearchPanel.vue | 406 ++++++++++-------- packages/client/src/helpers/constants.js | 1 + packages/client/src/store/modules/grants.js | 12 +- packages/server/src/db/index.js | 44 +- .../server/src/routes/grantsSavedSearch.js | 6 +- 7 files changed, 390 insertions(+), 266 deletions(-) diff --git a/packages/client/src/components/GrantsTableNext.vue b/packages/client/src/components/GrantsTableNext.vue index bf1d44d91..d33f9dbc4 100644 --- a/packages/client/src/components/GrantsTableNext.vue +++ b/packages/client/src/components/GrantsTableNext.vue @@ -4,7 +4,7 @@
-
+
@@ -24,7 +24,7 @@ - @@ -57,8 +57,8 @@ - - + + -
{{ totalRows }} total grant{{ totalRows == 1 ? '' : 's' }}
+
{{ totalRows }} total grant{{ totalRows == 1 ? '' : 's' }}
@@ -420,5 +420,15 @@ export default { #grants-table th:nth-child(1) { width: 300px; } - +.grants-table-title-control { + padding-bottom: .75rem; +} +.grants-table-pagination { + padding-bottom: .75rem; +} +.grants-table-pagination-component { + display: flex; + justify-content: left; + align-items: center; +} diff --git a/packages/client/src/components/Modals/SavedSearchPanel.vue b/packages/client/src/components/Modals/SavedSearchPanel.vue index 63db52dee..4e8678f42 100644 --- a/packages/client/src/components/Modals/SavedSearchPanel.vue +++ b/packages/client/src/components/Modals/SavedSearchPanel.vue @@ -1,14 +1,14 @@