Skip to content

Commit

Permalink
fix(pagination): colors of option element in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Oct 30, 2022
1 parent ce59053 commit 611051d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/TablePagination.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
border-color: var(--bs-btn-border-color) !important;
}

.paginationSelect option {
/* For chromium based browser (Firefox applies own styles to <option /> elements) */
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
}

:root[data-theme='dark'] .paginationSelect {
color: var(--bs-btn-color);
background-color: transparent;
Expand Down

0 comments on commit 611051d

Please sign in to comment.