commit | f6be00ba6d993553eba1403bbe3b8f7111daba41 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Sat Oct 14 19:14:42 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Sat Oct 14 19:14:42 2017 -0400 |
tree | 841132fe507a99bd7fc9be4ab587732ab406f85d | |
parent | 7d09334c5a353bad0b56e636dba231e727a8505d [diff] |
change from div to span for background color in cell_spec
diff --git a/R/cell_spec.R b/R/cell_spec.R index d83a8b1..7b7f00a 100644 --- a/R/cell_spec.R +++ b/R/cell_spec.R
@@ -89,7 +89,7 @@ hover_message <- paste0("data-toggle='tooltip' title='", hover_message, "'") } out <- paste0( - '<div style="', cell_style, '"', hover_message, '>', x, '</div>' + '<span style="', cell_style, '"', hover_message, '>', x, '</span>' ) return(out) }