mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
fix Delete confirm design
This commit is contained in:
@@ -405,17 +405,16 @@ class SnippetNoteDetail extends React.Component {
|
||||
tabIndex='-1'
|
||||
onKeyDown={(e) => this.handleDeleteKeyDown(e)}
|
||||
>
|
||||
|
||||
<span styleName='info-delete-message'>
|
||||
Are you sure to delete this note?
|
||||
</span>
|
||||
<button styleName='info-delete-cancelButton'
|
||||
onClick={(e) => this.handleDeleteCancelButtonClick(e)}
|
||||
>Cancel</button>
|
||||
<button styleName='info-delete-confirmButton'
|
||||
onClick={(e) => this.handleDeleteConfirmButtonClick(e)}
|
||||
ref='deleteConfirmButton'
|
||||
>Confirm</button>
|
||||
<button styleName='info-delete-cancelButton'
|
||||
onClick={(e) => this.handleDeleteCancelButtonClick(e)}
|
||||
>Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
: <div styleName='info'>
|
||||
|
||||
Reference in New Issue
Block a user