Update and move pretty tables function to a seperate js file and also add img-fluid to <img> tags so images dont run off the page and also update ticket details page with prettyContent function

This commit is contained in:
johnnyq
2023-09-26 14:22:58 -04:00
parent 1a5cd14208
commit 51489c2420
4 changed files with 21 additions and 27 deletions

7
js/pretty_content.js Normal file
View File

@@ -0,0 +1,7 @@
$(document).ready(function(){
// Add class to tables
$('div.prettyContent table').addClass('table');
// Add img-responsive class to img tags
$('div.prettyContent img').addClass('img-fluid');
});