differentiate cancel and confirm buttons in dialog

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-02-14 21:13:38 +00:00
parent a410933ff2
commit 2218fd558a

View File

@ -14,7 +14,7 @@ export class Dialog extends HTMLElement {
</form>
<hr>
<div class="btn-group">
<button value="cancel" form="form">CANCEL</button>
<button value="cancel" form="form" class="active">CANCEL</button>
<button value="confirm" form="form">CONFIRM</button>
</div>
</dialog>