Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions datagouv-components/src/components/DataserviceCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</ObjectCardHeader>
<div
v-if="dataservice.organization || dataservice.owner"
class="text-sm m-0 flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
class="text-sm flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
>
<ObjectCardOwner
:organization="dataservice.organization"
Expand All @@ -70,14 +70,14 @@
class="size-4 flex-none fill-gray-medium"
/>
<!-- https://github.com/datagouv/cdata/issues/653 -->
<p class="text-sm whitespace-nowrap mb-0">
<p class="text-sm whitespace-nowrap mb-0 text-gray-medium">
{{ t('Mis à jour {date}', { date: formatRelativeIfRecentDate(dataservice.metadata_modified_at, { dateStyle: 'medium' }) }) }}
</p>
<RiSubtractLine
aria-hidden="true"
class="size-4 flex-none fill-gray-medium"
/>
<div class="flex items-center gap-1">
<div class="flex items-center gap-1 text-gray-medium">
<p
class="text-sm mb-0 flex items-center gap-0.5"
:aria-label="t('{n} vues | {n} vue | {n} vues', dataservice.metrics.views)"
Expand Down
2 changes: 1 addition & 1 deletion datagouv-components/src/components/DatasetCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</ObjectCardHeader>
<div
v-if="dataset.organization || dataset.owner"
class="text-sm m-0 flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
class="text-sm flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
>
<ObjectCardOwner
:organization="dataset.organization"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<div
v-if="discussion.organization || discussion.user"
class="text-sm m-0 flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
class="text-sm flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
>
<ObjectCardOwner
:organization="discussion.organization"
Expand Down
2 changes: 1 addition & 1 deletion datagouv-components/src/components/ObjectCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<slot name="media" />
</div>
</div>
<div class="flex-1 overflow-hidden">
<div class="flex-1 overflow-hidden space-y-1">
<slot />
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion datagouv-components/src/components/ObjectCardHeader.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<h3 class="w-full text-base mb-0 flex">
<h3 class="w-full text-base flex">
<AppLink
:to="url"
class="text-gray-title text-base bg-none flex items-center w-full truncate gap-1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
color-class="text-gray-title"
/>
</ObjectCardHeader>
<div class="text-sm m-0 flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate">
<div class="text-sm flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate">
<template v-if="type !== 'other'">
<OwnerType
class="mb-0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<div
v-if="reuse.organization || reuse.owner"
class="text-sm m-0 flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
class="text-sm flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
>
<ObjectCardOwner
:organization="reuse.organization"
Expand Down
2 changes: 1 addition & 1 deletion datagouv-components/src/components/TopicCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<div
v-if="topic.organization || topic.owner"
class="text-sm m-0 flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
class="text-sm flex flex-wrap md:flex-nowrap gap-y-1 items-center truncate"
>
<ObjectCardOwner
:organization="topic.organization"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading