Skip to content

Commit

Permalink
WCMS-9671: Update styling for dataset updated date in mobile view (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
brdunfield authored Aug 2, 2023
1 parent ab443a5 commit 778d555
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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": "2.0.5",
"version": "2.0.6",
"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/DatasetSearchListItem/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const DatasetSearchListItem = ({ item, updateFacets }) => {
return (
<div className="dc-dataset-searchlist-item ds-u-border-top--1 ds-u-margin-bottom--5">
<div className="ds-l-row ds-u-padding-top--5">
<div className="ds-l-col--7">
<div className="ds-l-sm-col--7 ds-l-col--12">
{theme && (
<ul className="ds-u-padding--0 ds-u-display--flex ds-u-flex-direction--row ds-u-flex-wrap--wrap">
{theme.map((t) => (
Expand All @@ -39,7 +39,7 @@ const DatasetSearchListItem = ({ item, updateFacets }) => {
</ul>
)}
</div>
<span className="ds-l-col--5 ds-u-color--gray ds-u-text-align--right">
<span className="ds-l-sm-col--5 ds-l-col--12 ds-u-color--gray ds-u-sm-text-align--right">
Updated <TransformedDate date={modified} />
</span>
</div>
Expand Down

0 comments on commit 778d555

Please sign in to comment.