diff --git a/src/components/button/button.module.scss b/src/components/button/button.module.scss index d11f6f5..b826785 100644 --- a/src/components/button/button.module.scss +++ b/src/components/button/button.module.scss @@ -6,6 +6,7 @@ justify-content: center; align-items: center; height: 36px; + min-width: 120px; padding: 7px 16px; margin: 0; outline: none; diff --git a/src/components/modal/modal.stories.tsx b/src/components/modal/modal.stories.tsx index 6544c13..9f9e90a 100644 --- a/src/components/modal/modal.stories.tsx +++ b/src/components/modal/modal.stories.tsx @@ -45,6 +45,7 @@ export const WithSteps: Story = { render: (args) => { // eslint-disable-next-line react-hooks/rules-of-hooks const [step, setStep] = useState(1); + const buttonStyle = { minWidth: 'fit-content' }; const CustomFooter: FC<{ closeHandler: () => void }> = ({ closeHandler }) => { return ( @@ -55,14 +56,16 @@ export const WithSteps: Story = { gap: 18, }} > - - - - + diff --git a/src/components/modal/modalHeader/modalHeader.module.scss b/src/components/modal/modalHeader/modalHeader.module.scss index 694625f..30cf96f 100644 --- a/src/components/modal/modalHeader/modalHeader.module.scss +++ b/src/components/modal/modalHeader/modalHeader.module.scss @@ -21,6 +21,7 @@ } .modal-title { + font-family: var(--rp-ui-base-font-family-heading); flex-grow: 1; vertical-align: middle; text-overflow: ellipsis;