Skip to content

Commit

Permalink
width bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 13, 2024
1 parent 90718ab commit 106a10e
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions inst/templates/bootstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,21 @@
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<style>
table {
width: auto;
margin-left: auto;
margin-right: auto;
}
<!-- tinytable css before this -->
</style>
</head>

<body>
<div class="container">
<table class="$tinytable_BOOTSTRAP_CLASS" id="$tinytable_TABLE_ID" data-quarto-disable-processing="true">
<table class="$tinytable_BOOTSTRAP_CLASS" id="$tinytable_TABLE_ID">
<thead>
$tinytable_BOOTSTRAP_CAPTION
$tinytable_BOOTSTRAP_HEADER
Expand All @@ -41,16 +49,6 @@
// tinytable cells before this
</script>
</table>

<style>
table {
width: auto;
margin-left: auto;
margin-right: auto;
}
// tinytable css before this
</style>

</div>

</body>
Expand Down

0 comments on commit 106a10e

Please sign in to comment.