Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
css: isolate spacing properties for 'button--alt' class (#1956)
When customising your own admin dashboards, it is quite expected to use consistent graphical elements (such as buttons) in custom pages. Exposing a `button--alt` CSS class is helpful when adding some custom buttons, however the existing CSS class includes some spacing properties which is specific to the navigation bar (because this class is only used there in the Administrate engine). This commit moves the spacing property (margin) into a dedicated `.button--nav` class in order to give the `.button--alt` class a reusable role.
- Loading branch information