diff --git a/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts b/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts index c062faa8d..385099768 100644 --- a/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts +++ b/src/dataset/infrastructure/repositories/DatasetJSDataverseRepository.ts @@ -23,7 +23,7 @@ export class DatasetJSDataverseRepository implements DatasetRepository { // TODO - Implement using the js-dataverse-client return new Promise((resolve) => { setTimeout(() => { - resolve(DatasetPreviewMother.createMany(200)) + resolve(DatasetPreviewMother.createMany(10)) }, 1000) }) } diff --git a/src/sections/home/datasets-list/DatasetCard.module.scss b/src/sections/home/datasets-list/DatasetCard.module.scss index 116bdf606..de6e3fe8c 100644 --- a/src/sections/home/datasets-list/DatasetCard.module.scss +++ b/src/sections/home/datasets-list/DatasetCard.module.scss @@ -16,8 +16,12 @@ .thumbnail { width: 48px; - margin: 4px 12px 6px 0; + margin: 8px 12px 6px 0; font-size: 2.8em; + + img { + vertical-align: top; + } } .info { diff --git a/src/sections/home/datasets-list/DatasetsListSkeleton.tsx b/src/sections/home/datasets-list/DatasetsListSkeleton.tsx index a1a28c45c..b07bc39d3 100644 --- a/src/sections/home/datasets-list/DatasetsListSkeleton.tsx +++ b/src/sections/home/datasets-list/DatasetsListSkeleton.tsx @@ -9,16 +9,16 @@ export function DatasetsListSkeleton() {
- - - - - - - - - - + + + + + + + + + +