Skip to content

Commit 465c65c

Browse files
Remove table-based layout
1 parent a06422d commit 465c65c

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/Frontend/src/components/heartbeats/EndpointInstances.vue

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,12 @@ async function toggleAlerts(instance: EndpointsView) {
178178
<div>
179179
Actions
180180
<tippy max-width="400px">
181-
<i :style="{ fontSize: '1.1em' }" class="fa fa-info-circle text-primary" />
181+
<i :style="{ fontSize: '1.1em', marginLeft: '0.25em' }" class="fa fa-info-circle text-primary" />
182182
<template #content>
183-
<table>
184-
<tbody>
185-
<tr>
186-
<td style="padding: 3px; width: 6em; text-align: end; align-content: center">
187-
<button type="button" class="btn btn-danger btn-sm"><i class="fa fa-trash text-white" /> Delete</button>
188-
</td>
189-
<td style="padding: 3px">Delete an instance when that instance has been decommissioned.</td>
190-
</tr>
191-
</tbody>
192-
</table>
183+
<div class="d-flex align-items-center p-1">
184+
<button type="button" class="btn btn-danger btn-ms text-nowrap me-3" @click="deleteAllInstances()"><i class="fa fa-trash text-white" /> Delete</button>
185+
<span>Delete an instance when that instance has been decommissioned.</span>
186+
</div>
193187
</template>
194188
</tippy>
195189
</div>

0 commit comments

Comments
 (0)