Skip to content

Commit

Permalink
Update add item widget button margins in Wagtail edit page UI. (#12607
Browse files Browse the repository at this point in the history
)

* Update `.c-sf-add-button` styling to improve association by proximity in Wagtail edit page widgets.

* Increase bottom margin for `Add item` button in CMS page blocks
  • Loading branch information
ramram-mf committed Jul 16, 2024
1 parent 37cd1ea commit 480dc62
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,11 @@ fieldset ul li div label {
outline: none !important;
}
}

/* Better spacing for `Add item` buttons */
#wagtail {
.c-sf-add-button {
margin-top: -0.5em;
margin-bottom: 2.5em;
}
}

0 comments on commit 480dc62

Please sign in to comment.