Skip to content

Commit

Permalink
chore: plus d'espace dans la liste d'actions et de consultations de n…
Browse files Browse the repository at this point in the history
…ouveau compte-rendu (#1835)

* chore: plus d'espace dans la liste d'actions

* fix: remove debug
  • Loading branch information
arnaudambro authored Jan 29, 2024
1 parent 0fda711 commit 615c69e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: postgres
DEBUG: pw:api

- uses: actions/upload-artifact@v3
if: always()
Expand Down
3 changes: 2 additions & 1 deletion dashboard/src/components/ActionsSortableList.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const ActionsSortableList = ({ data, limit }) => {
sortOrder,
render: (actionOrConsult) => {
return (
<div className="tw-flex tw-items-center tw-justify-center tw-gap-1">
<div className="tw-flex tw-flex-col tw-items-center tw-justify-center tw-gap-2">
{!!actionOrConsult.urgent && <ExclamationMarkButton />}
{!!actionOrConsult.description && <DescriptionIcon />}
{!!organisation.groupsEnabled && !!actionOrConsult.group && (
Expand Down Expand Up @@ -134,6 +134,7 @@ const ActionsSortableList = ({ data, limit }) => {
title: 'Statut',
onSortOrder: setSortOrder,
onSortBy: setSortBy,
small: true,
sortBy,
sortOrder,
dataKey: 'status',
Expand Down
7 changes: 6 additions & 1 deletion dashboard/src/components/DateBloc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ const DateBloc = ({ date }) => {
<DayNum>{date && date.format('D')}</DayNum>
<MonthText>
{date && date.format('MMMM')}
{date && date.format('YYYY') !== dayjs.utc().format('YYYY') && ${date.format('YYYY')}`}
{date && date.format('YYYY') !== dayjs.utc().format('YYYY') && (
<>
<br />
{date.format('YYYY')}
</>
)}
</MonthText>
</Container>
);
Expand Down

0 comments on commit 615c69e

Please sign in to comment.