mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 22:49:44 +00:00
fix(js): add wrapper for all tables except highlighted code-blocks (#244)
Closes #232
This commit is contained in:
parent
8cb3fec414
commit
5ec3bea7dc
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ Even.sequence = function() {
|
|||
};
|
||||
|
||||
Even.responsiveTable = function() {
|
||||
const tables = document.querySelectorAll('.post-content > table');
|
||||
const tables = document.querySelectorAll('.post-content table:not(.lntable)');
|
||||
for (let i = 0; i < tables.length; i++) {
|
||||
const table = tables[i];
|
||||
const wrapper = document.createElement('div');
|
||||
|
|
Loading…
Reference in a new issue