Skip to content

Commit

Permalink
style: Align buttons of account table
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl-Tabuso committed May 10, 2024
1 parent 10228cf commit 7db52da
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/accounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,18 @@
</div>
</div>
<div class="table container-lg bg-white">
<div class="container">
<div class="row justify-content-end">
<div class="col-md-4 text-center">
<br>
<div class="p-2">
<button class="btn btn-outline-medium-brown fw-semibold px-3 py-2"
data-bs-toggle="modal" data-bs-target="#addAccountsModal">+ Add Account</button>
<button class="btn btn-danger fw-semibold py-2 delete-account"
data-account-id="<?php echo $row['id']; ?>">Delete</button>
</div>
</div>

<div class="row">
<div class="col mt-4 align-items-end">
<div class="d-flex justify-content-end">
<button class="btn btn-outline-medium-brown fw-semibold px-3 py-2" data-bs-toggle="modal" data-bs-target="#addAccountsModal">+ Add Account</button>
<div class="mx-2"></div>
<button class="btn btn-danger fw-semibold delete-account" data-account-id="<?php echo $row['id']; ?>">Delete</button>
</div>
</div>
</div>


<div id="successMessage" class="alert alert-success" style="display: none;" role="alert"></div>

<div class="table-container">
Expand Down

0 comments on commit 7db52da

Please sign in to comment.