Skip to content

Commit f3c7f16

Browse files
committed
chore: separate buttons in application list item actions
1 parent ab2fceb commit f3c7f16

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

spring-boot-admin-server-ui/src/main/frontend/views/applications/application-list-item-action.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
>
2323
<font-awesome-icon :icon="hasActiveNotificationFilter ? 'bell-slash' : 'bell'"/>
2424
</sba-button>
25-
&nbsp;
2625
<sba-button
2726
v-if="item.isUnregisterable"
27+
class="btn-unregister"
2828
:title="$t('applications.actions.unregister')"
2929
@click.stop="$emit('unregister', item)"
3030
>
@@ -37,11 +37,10 @@
3737
>
3838
<font-awesome-icon icon="undo-alt"/>
3939
</sba-button>
40-
&nbsp;
4140
<sba-button
4241
v-if="item.hasEndpoint('shutdown')"
4342
:title="$t('applications.actions.shutdown')"
44-
class="is-danger"
43+
class="is-danger btn-shutdown"
4544
@click.stop="$emit('shutdown', item)"
4645
>
4746
<font-awesome-icon :icon="['fa', 'power-off']"/>
@@ -92,7 +91,7 @@ export default {
9291
@apply hidden lg:inline-flex p-1 bg-black/5 rounded-lg;
9392
}
9493
95-
.btn-shutdown {
96-
@apply rounded-full !important;
94+
.btn-shutdown, .btn-unregister {
95+
@apply ml-1 !important;
9796
}
9897
</style>

0 commit comments

Comments
 (0)