Skip to content

Commit a2a2cd4

Browse files
committed
refactor: update history page layout for results heading and delete button, including new button styling and icon
1 parent 220b1bd commit a2a2cd4

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/pages/history.tsx

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,16 @@ export const history = new Elysia().use(userService).get(
4747
`}
4848
>
4949
<article class="article">
50-
<h1 class="mb-4 text-xl">Results</h1>
51-
<div id="delete-selected-container" class="mb-4 hidden">
52-
<button
53-
id="delete-selected-btn"
54-
class={`
55-
rounded bg-red-600 px-4 py-2 text-white transition-colors
56-
hover:bg-red-700
57-
`}
58-
>
59-
Delete Selected (<span id="selected-count">0</span>)
60-
</button>
50+
<div class="mb-4 flex items-center justify-between">
51+
<h1 class="text-xl">Results</h1>
52+
<div id="delete-selected-container" class="hidden">
53+
<button
54+
id="delete-selected-btn"
55+
class="flex btn-secondary flex-row gap-2 text-contrast"
56+
>
57+
<DeleteIcon /> <p>Delete Selected (<span id="selected-count">0</span>)</p>
58+
</button>
59+
</div>
6160
</div>
6261
<table
6362
class={`

0 commit comments

Comments
 (0)