Fix #530
diff --git a/R/footnote.R b/R/footnote.R
index c2f599a..07d9f96 100644
--- a/R/footnote.R
+++ b/R/footnote.R
@@ -201,7 +201,9 @@
new_html_footnote <- html_tfoot_maker(footnote_table, footnote_as_chunk)
xml_add_child(kable_xml, new_html_footnote)
-
+ xml2::xml_set_attr(kable_xml, "style",
+ paste0(xml2::xml_attr(kable_xml, "style"),
+ "border-bottom: 0;"))
out <- as_kable_xml(kable_xml)
attributes(out) <- kable_attrs
if (!"kableExtra" %in% class(out)) class(out) <- c("kableExtra", class(out))
@@ -233,12 +235,12 @@
}
if (!ft_chunk) {
footnote_text <- paste0(
- '<tr><td style="padding: 0; border: 0;" colspan="100%">',
+ '<tr><td style="padding: 0; " colspan="100%">',
footnote_text, '</td></tr>'
)
} else {
footnote_text <- paste0(
- '<tr><td style="padding: 0; border: 0;" colspan="100%">',
+ '<tr><td style="padding: 0; " colspan="100%">',
paste0(footnote_text, collapse = " "),
'</td></tr>'
)
diff --git a/inst/lightable-0.0.1/lightable.css b/inst/lightable-0.0.1/lightable.css
index 7eba5ac..1b65905 100644
--- a/inst/lightable-0.0.1/lightable.css
+++ b/inst/lightable-0.0.1/lightable.css
@@ -41,6 +41,7 @@
.lightable-classic {
border-top: 0.16em solid #111111;
+ border-bottom: 0.16em solid #111111;
width: 100%;
margin-bottom: 10px;
margin: 10px 5px;
@@ -67,10 +68,16 @@
border-bottom: 0.10em solid #111111;
}
-.lightable-classic tbody tr:last-child td {
- border-bottom: 0.14em solid #111111;
+.lightable-classic tfoot tr td {
+ border: 0;
}
+.lightable-classic tfoot tr:first-child td {
+ border-top: 0.14em solid #111111;
+}
+
+
+
.lightable-classic.lightable-hover tbody tr:hover {
background-color: #F9EEC1;
}