Skip to content

Commit

Permalink
UI: Improve maintenace actions design (#4407)
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying committed Feb 2, 2024
1 parent 3cea7d4 commit 56aa81e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/pages/ManageMaintenance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<font-awesome-icon icon="edit" /> {{ $t("Edit") }}
</router-link>

<button class="btn btn-danger" @click="deleteDialog(item.id)">
<button class="btn btn-normal text-danger" @click="deleteDialog(item.id)">
<font-awesome-icon icon="trash" /> {{ $t("Delete") }}
</button>
</div>
Expand Down Expand Up @@ -294,8 +294,15 @@ export default {
gap: 8px;
flex-direction: row-reverse;
.btn-group {
width: 310px;
@media (max-width: 550px) {
& {
width: 100%;
}
.btn-group {
margin: 1em 1em 0 1em;
width: 100%;
}
}
}
}
Expand Down

0 comments on commit 56aa81e

Please sign in to comment.