Fix tables display

This commit is contained in:
Guillaume Gomez
2019-02-11 22:22:56 +01:00
parent 618f5a08a1
commit b53305df7f
3 changed files with 6 additions and 25 deletions
+3 -2
View File
@@ -424,7 +424,8 @@ h4 > code, h3 > code, .invisible > code {
.docblock table {
margin: .5em 0;
width: 100%;
width: calc(100% - 2px);
border: 1px dashed;
}
.docblock table td {
@@ -657,7 +658,7 @@ a {
transition: border-color 300ms ease;
transition: border-radius 300ms ease-in-out;
transition: box-shadow 300ms ease-in-out;
width: 100%;
width: calc(100% - 32px);
}
#crate-search + .search-input {
+1 -11
View File
@@ -68,20 +68,10 @@ pre {
border-bottom-color: #DDD;
}
.docblock table {
.docblock table, .docblock table td, .docblock table th {
border-color: #ddd;
}
.docblock table td {
border-top-color: #ddd;
border-bottom-color: #ddd;
}
.docblock table th {
border-top-color: #ddd;
border-bottom-color: #ddd;
}
.content .method .where,
.content .fn .where,
.content .where.fmt-newline {
+2 -12
View File
@@ -67,23 +67,13 @@ pre {
}
.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
border-bottom-color: #DDD;
border-bottom-color: #ddd;
}
.docblock table {
.docblock table, .docblock table td, .docblock table th {
border-color: #ddd;
}
.docblock table td {
border-top-color: #ddd;
border-bottom-color: #ddd;
}
.docblock table th {
border-top-color: #ddd;
border-bottom-color: #ddd;
}
.content .method .where,
.content .fn .where,
.content .where.fmt-newline {