diff --git a/src/frontend/apps/desk/src/features/mail-domains/domains/components/MailDomainView.tsx b/src/frontend/apps/desk/src/features/mail-domains/domains/components/MailDomainView.tsx index 5fc201a..9cb1c2f 100644 --- a/src/frontend/apps/desk/src/features/mail-domains/domains/components/MailDomainView.tsx +++ b/src/frontend/apps/desk/src/features/mail-domains/domains/components/MailDomainView.tsx @@ -40,7 +40,7 @@ export const MailDomainView = ({ return ( <> -
+ -
+ ); }; diff --git a/src/frontend/apps/desk/src/pages/mail-domains/index.tsx b/src/frontend/apps/desk/src/pages/mail-domains/index.tsx index 580cc53..e2304ba 100644 --- a/src/frontend/apps/desk/src/pages/mail-domains/index.tsx +++ b/src/frontend/apps/desk/src/pages/mail-domains/index.tsx @@ -2,6 +2,7 @@ import { Button, Input, Tooltip } from '@openfun/cunningham-react'; import React, { ReactElement } from 'react'; import { useTranslation } from 'react-i18next'; +import { Box, Text } from '@/components'; import { useAuthStore } from '@/core/auth'; import { useCunninghamTheme } from '@/cunningham'; import { ModalAddMailDomain } from '@/features/mail-domains/domains/components/ModalAddMailDomain'; @@ -35,41 +36,37 @@ const Page: NextPageWithLayout = () => { }; return ( -
-
+ -

{t('Areas of the organization')} -

+ -
-
+ { value={searchValue} onChange={handleInputChange} /> -
+ -
+ $css={` + background: ${colors['greyscale-200']}; + height: 32px; + width: 1px; + `} + > -
+ -
+ {can_create ? (
)} -
-
+ + {!can_create && (

@@ -140,8 +134,8 @@ const Page: NextPageWithLayout = () => { {isModalOpen && } -

- + + ); };