Skip to content

Commit

Permalink
Move style outside of div
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Feb 23, 2024
1 parent 1e48be4 commit 74b7e78
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
ITables ChangeLog
=================

1.7.1 (2024-02-??)
------------------

**Fixed**
- We have moved the style section of the template prior to the div (#229)


1.7.0 (2024-02-09)
------------------

Expand Down
2 changes: 1 addition & 1 deletion itables/html/datatables_template.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="itables">
<style></style>
<div class="itables">
<table id="table_id"><thead><tr><th>A</th></tr></thead></table>
<script type="module">
const dt = (await import(window._datatables_src_for_itables)).default;
Expand Down
2 changes: 1 addition & 1 deletion itables/html/datatables_template_connected.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="itables">
<style></style>
<div class="itables">
<table id="table_id"><thead><tr><th>A</th></tr></thead></table>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.13.1/css/jquery.dataTables.min.css">
<script type="module">
Expand Down
2 changes: 1 addition & 1 deletion itables/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""ITables' version number"""

__version__ = "1.7.0"
__version__ = "1.7.1-dev"

0 comments on commit 74b7e78

Please sign in to comment.