Skip to content

Commit

Permalink
fix bootstrap css conflict with d2b icon #60 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed Mar 2, 2018
1 parent fcb11b0 commit 1d76c63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/d2b.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ d2b_dep <- function() {
src = c(
file = system.file("htmlwidgets/lib/d2b", package="sunburstR")
),
script = "d2b.js"
script = "d2b.js",
stylesheet = "d2b_custom.css"
)
}
3 changes: 3 additions & 0 deletions inst/htmlwidgets/lib/d2b/d2b_custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.d2b-breadcrumb-icon:after {
box-sizing: initial;
}

0 comments on commit 1d76c63

Please sign in to comment.