Merge branch 'staging' into preprod

This commit is contained in:
Vins 2024-10-31 09:37:58 +01:00
commit a32547dab8
3 changed files with 16 additions and 20 deletions

View File

@ -1,6 +1,7 @@
@import "@Themes/constants.scss"; @import "@Themes/constants.scss";
$mobile-breakpoint: 600px; $mobile-breakpoint: 600px;
$tablet-breakpoint: 1024px;
.root { .root {
display: flex; display: flex;
@ -21,7 +22,6 @@ $mobile-breakpoint: 600px;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
gap: var(--spacing-lg, 24px); gap: var(--spacing-lg, 24px);
} }
.open-date { .open-date {
@ -92,11 +92,11 @@ $mobile-breakpoint: 600px;
word-wrap: break-word; word-wrap: break-word;
} }
&.desktop { // &.desktop {
@media screen and (max-width: $screen-s) { // @media screen and (max-width: $screen-s) {
display: none; // display: none;
} // }
} // }
&.ipad { &.ipad {
display: none; display: none;
@ -104,17 +104,17 @@ $mobile-breakpoint: 600px;
display: block; display: block;
} }
@media screen and (max-width: $mobile-breakpoint) { @media screen and (max-width: $tablet-breakpoint) {
display: none; display: none;
} }
} }
&.mobile { // &.mobile {
display: none; // display: none;
@media screen and (max-width: $mobile-breakpoint) { // @media screen and (max-width: $mobile-breakpoint) {
display: block; // display: block;
} // }
} // }
} }
.separator { .separator {

View File

@ -154,7 +154,7 @@ export default function InformationSection(props: IProps) {
{!isArchived && <IconButton onClick={onArchive} icon={<ArchiveBoxIcon />} variant={EIconButtonVariant.ERROR} />} {!isArchived && <IconButton onClick={onArchive} icon={<ArchiveBoxIcon />} variant={EIconButtonVariant.ERROR} />}
</div> </div>
</div> </div>
<div className={classNames(classes["description-container"], classes["desktop"], classes["mobile"])}> <div className={classNames(classes["description-container"])}>
<Typography typo={ETypo.TEXT_MD_REGULAR} color={ETypoColor.COLOR_NEUTRAL_700}> <Typography typo={ETypo.TEXT_MD_REGULAR} color={ETypoColor.COLOR_NEUTRAL_700}>
Note du dossier Note du dossier
</Typography> </Typography>

View File

@ -8,7 +8,7 @@ import Form from "@Front/Components/DesignSystem/Form";
import Subscriptions from "@Front/Api/LeCoffreApi/Admin/Subscriptions/Subscriptions"; import Subscriptions from "@Front/Api/LeCoffreApi/Admin/Subscriptions/Subscriptions";
import { useCallback, useState } from "react"; import { useCallback, useState } from "react";
import { TrashIcon } from "@heroicons/react/24/outline"; 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"; import Module from "@Front/Config/Module";
type EmailLine = { type EmailLine = {
@ -108,11 +108,7 @@ export default function SubscriptionInvite() {
))} ))}
{isNaN(nbOfCollaborators) && ( {isNaN(nbOfCollaborators) && (
<div className={classes["add-line-container"]}> <div className={classes["add-line-container"]}>
<Button <Button onClick={addLine} variant={EButtonVariant.PRIMARY} styletype={EButtonstyletype.TEXT}>
onClick={addLine}
variant={EButtonVariant.PRIMARY}
styletype={EButtonstyletype.TEXT}
rightIcon={<PlusIcon />}>
Ajouter une adresse email Ajouter une adresse email
</Button> </Button>
</div> </div>