diff --git a/packages/console/src/components/Guide/ModalFooter/index.module.scss b/packages/console/src/components/Guide/ModalFooter/index.module.scss index 50bed48bd..f2121a66a 100644 --- a/packages/console/src/components/Guide/ModalFooter/index.module.scss +++ b/packages/console/src/components/Guide/ModalFooter/index.module.scss @@ -24,9 +24,3 @@ @include _.multi-line-ellipsis(2); } } - -@media screen and (max-width: dim.$guide-content-max-width) { - .actionBar .wrapper { - margin: 0 0 0 _.unit(62.5); - } -} diff --git a/packages/console/src/components/Guide/ModalFooter/index.tsx b/packages/console/src/components/Guide/ModalFooter/index.tsx index 73b48d5b4..5a0417467 100644 --- a/packages/console/src/components/Guide/ModalFooter/index.tsx +++ b/packages/console/src/components/Guide/ModalFooter/index.tsx @@ -1,4 +1,5 @@ import { type AdminConsoleKey } from '@logto/phrases'; +import classNames from 'classnames'; import Button from '@/ds-components/Button'; import DynamicT from '@/ds-components/DynamicT'; @@ -6,15 +7,16 @@ import DynamicT from '@/ds-components/DynamicT'; import * as styles from './index.module.scss'; type Props = { + wrapperClassName?: string; content: AdminConsoleKey; buttonText: AdminConsoleKey; onClick: () => void; }; -export default function ModalFooter({ content, buttonText, onClick }: Props) { +export default function ModalFooter({ wrapperClassName, content, buttonText, onClick }: Props) { return (