mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 16:32:19 +00:00
Merge pull request #10582 from overleaf/ds-change-btn-default-to-secondary
`btn-default` to `btn-secondary` GitOrigin-RevId: 52edf7f5da123e366b027e43e86e81c6260ebff3
This commit is contained in:
parent
db4d5f2522
commit
e5826446e7
4 changed files with 22 additions and 4 deletions
|
@ -58,7 +58,12 @@ export default function DeleteTagModal({
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<Button onClick={onClose} disabled={isLoading}>
|
<Button
|
||||||
|
bsStyle={null}
|
||||||
|
className="btn-secondary"
|
||||||
|
onClick={onClose}
|
||||||
|
disabled={isLoading}
|
||||||
|
>
|
||||||
{t('cancel')}
|
{t('cancel')}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -115,7 +115,13 @@ function RenameProjectModal({
|
||||||
{getUserFacingMessage(error)}
|
{getUserFacingMessage(error)}
|
||||||
</Alert>
|
</Alert>
|
||||||
)}
|
)}
|
||||||
<Button onClick={handleCloseModal}>{t('cancel')}</Button>
|
<Button
|
||||||
|
bsStyle={null}
|
||||||
|
className="btn-secondary"
|
||||||
|
onClick={handleCloseModal}
|
||||||
|
>
|
||||||
|
{t('cancel')}
|
||||||
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
form="rename-project-form"
|
form="rename-project-form"
|
||||||
bsStyle="primary"
|
bsStyle="primary"
|
||||||
|
|
|
@ -105,7 +105,12 @@ export default function RenameTagModal({
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<Button onClick={onClose} disabled={isLoading}>
|
<Button
|
||||||
|
bsStyle={null}
|
||||||
|
className="btn-secondary"
|
||||||
|
onClick={onClose}
|
||||||
|
disabled={isLoading}
|
||||||
|
>
|
||||||
{t('cancel')}
|
{t('cancel')}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -82,7 +82,9 @@ function ModalContentNewProjectForm({ onCancel, template = 'none' }: Props) {
|
||||||
</Modal.Body>
|
</Modal.Body>
|
||||||
|
|
||||||
<Modal.Footer>
|
<Modal.Footer>
|
||||||
<Button onClick={onCancel}>{t('cancel')}</Button>
|
<Button bsStyle={null} className="btn-secondary" onClick={onCancel}>
|
||||||
|
{t('cancel')}
|
||||||
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
bsStyle="primary"
|
bsStyle="primary"
|
||||||
onClick={createNewProject}
|
onClick={createNewProject}
|
||||||
|
|
Loading…
Reference in a new issue