commit | fd516baffe9e6cfa95685a51d67fa800dee81d5b | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Fri Jul 28 14:30:25 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Fri Jul 28 14:30:25 2017 -0400 |
tree | 3cda49d0b70e7fff6b452f620172793526bde5f9 | |
parent | 953f3bd9082db91624c787f08f7baecc8b1f6c45 [diff] [blame] |
Fix a bug reported on SO https://stackoverflow.com/questions/45378664/kableextra-rmarkdown-tables-aligning-grouping-row-labels-and-footnotes
diff --git a/R/kable_styling.R b/R/kable_styling.R index 764e011..9274ea0 100644 --- a/R/kable_styling.R +++ b/R/kable_styling.R
@@ -148,7 +148,7 @@ position_style <- switch( position, center = "margin-left: auto; margin-right: auto;", - left = "text-align: right;", + left = "", right = "margin-right: 0; margin-left: auto", float_left = "float: left; margin-right: 10px;", float_right = "float: right; margin-left: 10px;"