]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Allow to set active and disabled class also to .page-link (#35804)
authorA Web Artisan <laraloop.com@gmail.com>
Fri, 11 Mar 2022 19:25:41 +0000 (20:25 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Mar 2022 19:25:41 +0000 (21:25 +0200)
commitce655ee6f2fb8ad774846e4afe7daeb9fc8686e7
tree6b80912c2866f381e0ae2b30fd91972565cd5cc4
parent58ac9a9a5cf6072188d8a928a6f3206ffb855219
Allow to set active and disabled class also to .page-link (#35804)

Sometimes we can set `.active` class only to link tag and not parent.
Since active status style is applied only to `.page-link` and not `.page-item`, would also make more sense to just add the active class to `.page-link` itself.

The other way to set `.active` class to `.page-item` still remain, so there is not BC.

Allow to set also `.disabled` class to `.page-link`

Co-authored-by: Gaƫl Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
scss/_pagination.scss