Since managing investments is a very common action, with this link administrators won't have to go back to the index page to manage investments; they can access it from either the budgets index page or the budget page. Since now the links we've got on the budget page are similar to the ones we've got in the index page table, we're styling them in a similar way. We're also fixing a small typo en the investments path; it works exactly the same way as it used to, but passing `budget` instead of `budget_id: budget.id` is shorter and more consistent with what we do in other places.
16 lines
221 B
SCSS
16 lines
221 B
SCSS
.admin .table-actions {
|
|
@include admin-action-icons;
|
|
@include flex-with-gap(1.6em);
|
|
align-items: flex-start;
|
|
padding: 0 0.5em;
|
|
|
|
a,
|
|
button {
|
|
@include icon-on-top;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
}
|