Skip to content

Commit

Permalink
feat(theme:DT): Adds better compatibility for popovers in DT tables (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Sep 6, 2023
1 parent 5f2a836 commit 403c2e9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
Binary file modified R/sysdata.rda
Binary file not shown.
12 changes: 12 additions & 0 deletions inst/bs3compat/_dt_compat.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// For DataTables with BS 5+
@if $bootstrap-version >= 5 {
// Currently not possible through DT: rstudio/DT#1081
.datatables thead .form-group.has-feedback + div {
background-color: var(--bs-body-bg) !important;
color: var(--bs-body-color) !important;
border-color: var(--bs-border-color) !important;
border-width: var(--bs-border-width);
border-radius: var(--bs-border-radius);
border-style: var(--bs-border-style);
}
}
1 change: 1 addition & 0 deletions inst/bs3compat/_rules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@import "navbar_compat";
@import "nav_compat";
@import "progress_compat";
@import "dt_compat";

@import "glyphicons";

Expand Down
2 changes: 1 addition & 1 deletion inst/css-precompiled/5/bootstrap.min.css

Large diffs are not rendered by default.

0 comments on commit 403c2e9

Please sign in to comment.