Skip to content

Commit 49c8247

Browse files
committed
refact: revamp from custom css to bootstrap
1 parent 10e8472 commit 49c8247

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LinkDotNet.Blog.Web/Features/Components/ConfirmDialog.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<ModalDialog @ref="ModalDialog" Title="@Title">
22
<h3>@Content</h3>
3-
<div class="actions">
4-
<button id="ok" @onclick="OnYesButtonPressed" type="button" class="btn btn-primary">Ok</button>
5-
<button id="cancel" @onclick="OnNoButtonPressed" type="button" class="btn btn-secondary">Cancel</button>
3+
<div class="d-flex justify-content-end gap-2 mt-4">
4+
<button id="ok" @onclick="OnYesButtonPressed" type="button" class="btn btn-primary w-100" style="max-width: 125px;">Ok</button>
5+
<button id="cancel" @onclick="OnNoButtonPressed" type="button" class="btn btn-secondary w-100" style="max-width: 125px;">Cancel</button>
66
</div>
77
</ModalDialog>
88

0 commit comments

Comments
 (0)