Skip to content

Paginate selected page button color ? #1138

Closed Answered by lrljoe
dgillier asked this question in Q&A
Discussion options

You must be logged in to vote

I've merged a PR into Develop from someone else #1096 which improves the visibility. I'm just in the process of doing final tests across TW2/3/BS4/BS5, and expect to issue a PR into main/master later today.

In the meantime you could add something like this into your CSS file, this will target the active immediate child span, or any nav element. This includes the pagination, but doesn't appear to directly impact any other DataTable element (you may have used the nav navigation elsewhere though, so use caution!).

nav[role="navigation"] [aria-current]:not([aria-current="false"]) > span {
    color: red;
}

I'd recommend adding a custom class to the Component Wrapper (e.g. RappasoftDataTable) …

Replies: 2 comments

Comment options

lrljoe
Apr 3, 2023
Collaborator Sponsor

You must be logged in to vote
0 replies
Answer selected by dgillier
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants