Put button to add content next to its related form

This way the relationship between the two elements is more obvious. And
since now the button and the form are siblings, it's easier to find one
based on the other using CSS or JavaScript.
This commit is contained in:
Javi Martín
2021-06-22 20:54:58 +02:00
parent 767b65e7d6
commit 089fe3cd1f
3 changed files with 8 additions and 10 deletions

View File

@@ -2462,6 +2462,7 @@ table {
.add-related-content {
display: block;
margin-bottom: $line-height;
@include breakpoint(medium) {
float: right;