mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
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:
7
js/pretty_content.js
Normal file
7
js/pretty_content.js
Normal 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');
|
||||
});
|
||||
Reference in New Issue
Block a user