Merge branch 'dev' into staging

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

View File

@ -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 {

View File

@ -154,7 +154,7 @@ export default function InformationSection(props: IProps) {
{!isArchived && <IconButton onClick={onArchive} icon={<ArchiveBoxIcon />} variant={EIconButtonVariant.ERROR} />}
</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}>
Note du dossier
</Typography>

View File

@ -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) && (
<div className={classes["add-line-container"]}>
<Button
onClick={addLine}
variant={EButtonVariant.PRIMARY}
styletype={EButtonstyletype.TEXT}
rightIcon={<PlusIcon />}>
<Button onClick={addLine} variant={EButtonVariant.PRIMARY} styletype={EButtonstyletype.TEXT}>
Ajouter une adresse email
</Button>
</div>