Skip to content

Commit

Permalink
dataTable tweaks and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Apr 20, 2021
1 parent 0c1ab59 commit 1eee418
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions inst/templates/robobook/robobook.css
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ table {

.book .book-body .page-inner section.normal table th {
vertical-align: bottom;
border-bottom: 2px solid #ddd;
border-bottom: 1px solid #000;
}

.book .book-body .page-inner section.normal table td {
Expand Down Expand Up @@ -768,7 +768,7 @@ table {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
direction: ltr;
border: none;
color: inherit
color: inherit;
white-space: pre;
}

Expand Down Expand Up @@ -907,8 +907,8 @@ table {
top: auto;
max-width: 50%;
width: 50%;
display: inline-block;
float: left
display: block;
float: left;
}

.book .book-body .navigation.navigation-unique {
Expand Down Expand Up @@ -964,7 +964,6 @@ html {

body {
text-rendering: optimizeLegibility;
font-smoothing: antialiased;
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
letter-spacing: .2px;
Expand Down Expand Up @@ -1014,13 +1013,19 @@ body {
margin-bottom: 1.8em;
}

.book .book-body .page-inner section.normal .dataTables_wrapper .table-wrapper {
overflow-x: auto;
margin-bottom: 0.5em;
}


.book .book-body .page-inner section.normal table,
.book .book-body .page-inner section.normal .table,
.book .book-body .page-inner section.normal .pagedtable-wrapper,
.book .book-body .page-inner section.normal .dataTables_wrapper {
font-size: 0.9em;
margin-top: 0;
margin-bottom: 2rem;
margin-bottom: 0rem;
}

.book .book-body .page-inner section.normal table {
Expand Down Expand Up @@ -1336,8 +1341,8 @@ button.code-folding-btn {
}

.book .book-body .page-inner section.normal .dataTables_wrapper .table-wrapper {
margin-top: 3em;
}
margin-top: 3em;
}

/* paged tables */

Expand Down

0 comments on commit 1eee418

Please sign in to comment.