mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-10 22:50:46 +02: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:
+6
-1
@@ -58,7 +58,12 @@ export default function DeleteTagModal({
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
<Button onClick={onClose} disabled={isLoading}>
|
||||
<Button
|
||||
bsStyle={null}
|
||||
className="btn-secondary"
|
||||
onClick={onClose}
|
||||
disabled={isLoading}
|
||||
>
|
||||
{t('cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
|
||||
+7
-1
@@ -115,7 +115,13 @@ function RenameProjectModal({
|
||||
{getUserFacingMessage(error)}
|
||||
</Alert>
|
||||
)}
|
||||
<Button onClick={handleCloseModal}>{t('cancel')}</Button>
|
||||
<Button
|
||||
bsStyle={null}
|
||||
className="btn-secondary"
|
||||
onClick={handleCloseModal}
|
||||
>
|
||||
{t('cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
form="rename-project-form"
|
||||
bsStyle="primary"
|
||||
|
||||
+6
-1
@@ -105,7 +105,12 @@ export default function RenameTagModal({
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
<Button onClick={onClose} disabled={isLoading}>
|
||||
<Button
|
||||
bsStyle={null}
|
||||
className="btn-secondary"
|
||||
onClick={onClose}
|
||||
disabled={isLoading}
|
||||
>
|
||||
{t('cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
|
||||
+3
-1
@@ -82,7 +82,9 @@ function ModalContentNewProjectForm({ onCancel, template = 'none' }: Props) {
|
||||
</Modal.Body>
|
||||
|
||||
<Modal.Footer>
|
||||
<Button onClick={onCancel}>{t('cancel')}</Button>
|
||||
<Button bsStyle={null} className="btn-secondary" onClick={onCancel}>
|
||||
{t('cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
bsStyle="primary"
|
||||
onClick={createNewProject}
|
||||
|
||||
Reference in New Issue
Block a user