From ed48c6abd6c12564b53ad0c41ab4eecee269bd81 Mon Sep 17 00:00:00 2001 From: Vins Date: Thu, 31 Oct 2024 09:37:37 +0100 Subject: [PATCH] Fixed Folder notes + Invite collab --- .../InformationSection/classes.module.scss | 26 +++++++++---------- .../InformationSection/index.tsx | 2 +- .../Subscription/SubscriptionInvite/index.tsx | 8 ++---- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/classes.module.scss b/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/classes.module.scss index bf486242..6eea2a8e 100644 --- a/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/classes.module.scss +++ b/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/classes.module.scss @@ -1,6 +1,7 @@ @import "@Themes/constants.scss"; $mobile-breakpoint: 600px; +$tablet-breakpoint: 1024px; .root { display: flex; @@ -21,7 +22,6 @@ $mobile-breakpoint: 600px; justify-content: space-between; align-items: center; gap: var(--spacing-lg, 24px); - } .open-date { @@ -92,11 +92,11 @@ $mobile-breakpoint: 600px; word-wrap: break-word; } - &.desktop { - @media screen and (max-width: $screen-s) { - display: none; - } - } + // &.desktop { + // @media screen and (max-width: $screen-s) { + // display: none; + // } + // } &.ipad { display: none; @@ -104,17 +104,17 @@ $mobile-breakpoint: 600px; display: block; } - @media screen and (max-width: $mobile-breakpoint) { + @media screen and (max-width: $tablet-breakpoint) { display: none; } } - &.mobile { - display: none; - @media screen and (max-width: $mobile-breakpoint) { - display: block; - } - } + // &.mobile { + // display: none; + // @media screen and (max-width: $mobile-breakpoint) { + // display: block; + // } + // } } .separator { diff --git a/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/index.tsx b/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/index.tsx index eef289b6..8a19d1be 100644 --- a/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/index.tsx +++ b/src/front/Components/Layouts/Folder/FolderInformation/InformationSection/index.tsx @@ -154,7 +154,7 @@ export default function InformationSection(props: IProps) { {!isArchived && } variant={EIconButtonVariant.ERROR} />} -
+
Note du dossier diff --git a/src/front/Components/Layouts/Subscription/SubscriptionInvite/index.tsx b/src/front/Components/Layouts/Subscription/SubscriptionInvite/index.tsx index e8bcc73d..badeec04 100644 --- a/src/front/Components/Layouts/Subscription/SubscriptionInvite/index.tsx +++ b/src/front/Components/Layouts/Subscription/SubscriptionInvite/index.tsx @@ -8,7 +8,7 @@ import Form from "@Front/Components/DesignSystem/Form"; import Subscriptions from "@Front/Api/LeCoffreApi/Admin/Subscriptions/Subscriptions"; import { useCallback, useState } from "react"; import { TrashIcon } from "@heroicons/react/24/outline"; -import PlusIcon from "@Assets/Icons/plus.svg"; +// import PlusIcon from "@Assets/Icons/plus.svg"; import Module from "@Front/Config/Module"; type EmailLine = { @@ -108,11 +108,7 @@ export default function SubscriptionInvite() { ))} {isNaN(nbOfCollaborators) && (
-