Skip to content

Commit

Permalink
3.1.1 (#175) fix 3.1.0 regressions on data.medicaid, pfs, and qic
Browse files Browse the repository at this point in the history
* fix 3.1.0 regressions on data.medicaid, pfs, and qic
  • Loading branch information
brdunfield authored Mar 19, 2024
1 parent e6cf1ad commit 21e1ff0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@civicactions/cmsds-open-data-components",
"version": "3.1.0",
"version": "3.1.1",
"description": "Components for the open data catalog frontend using CMS Design System",
"main": "dist/main.js",
"source": "src/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/components/DatatableHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ const DataTableHeader = ({ resource, downloadURL, jsonUrl } : {resource: Resourc
return (
<div className="ds-l-row ds-u-align-items--center ds-u-margin-bottom--2">
<div className="ds-l-col--12 ds-u-display--flex ds-u-flex-wrap--wrap ds-u-justify-content--between ds-u-align-items--center">
<div>
<div className="ds-l-col--12 ds-l-lg-col--6">
<DataTablePageResults
totalRows={intCount}
limit={limit}
offset={offset}
/>
</div>
<div className="dc-c-resource-header--buttons ds-l-col--12 ds-l-lg-col--8 ds-u-display--flex ds-u-flex-wrap--wrap ds-u-justify-content--end ds-u-margin-bottom--2 ds-u-md-margin-bottom--0 ds-u-padding-x--0">
<div className="dc-c-resource-header--buttons ds-l-col--12 ds-l-lg-col--6 ds-u-display--flex ds-u-flex-wrap--wrap ds-u-justify-content--end ds-u-margin-bottom--2 ds-u-md-margin-bottom--0 ds-u-padding-x--0">
<div className="ds-l-col--12 ds-l-sm-col--auto ds-u-padding-x--0 ds-u-sm-margin-right--2 ds-u-margin-bottom--2 ds-u-sm-margin-bottom--0">
<Tooltip
onOpen={() => {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/DatasetSearch/DatasetSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const DatasetSearch = (props: DatasetSearchPageProps) => {
</div>
)}
</div>
<ol className="dc-dataset-search-list ds-u-padding--0 ds-u-margin-top--0 ds-u-display--block" data-testid="results-list">
<ol className="dc-dataset-search-list ds-u-padding--0 ds-u-margin-top--0 ds-u-margin-bottom--4 ds-u-display--block" data-testid="results-list">
{noResults && <Alert variation="error" heading="No results found." />}
{data && data.data.results ? Object.keys(data.data.results).map((key) => {
return data.data.results[key];
Expand Down

0 comments on commit 21e1ff0

Please sign in to comment.