Move budget group actions to their own line

The problem of having actions next to the title is that, when there are
titles of very different lenghts, at certain resolutions some actions
will be next to their titles (because there'll be space for everything)
but some actions will be below their titles. This makes it hard for
people to follow where the actions are.
This commit is contained in:
Javi Martín
2021-09-02 23:32:09 +02:00
parent 2e70b706b0
commit 7c7cf2b043

View File

@@ -6,20 +6,6 @@
margin-top: $line-height * 1.5; margin-top: $line-height * 1.5;
} }
> section {
display: flex;
flex-wrap: wrap;
}
h4 {
margin-#{$global-right}: $gap;
}
dl,
.callout {
width: 100%;
}
dt, dt,
dd { dd {
display: inline; display: inline;
@@ -44,8 +30,10 @@
.groups-actions { .groups-actions {
@include flex-with-gap($gap); @include flex-with-gap($gap);
align-items: flex-start; align-items: flex-start;
flex: 1;
margin-bottom: $line-height / 2; + * {
margin-top: $line-height / 2;
}
.edit-link, .edit-link,
.destroy-link { .destroy-link {