Forum: Fix idiotic multi-quote view (+sample fix) - Printable Version +- Gekko Forum (https://forum.gekko.wizb.it) +-- Forum: Gekko (https://forum.gekko.wizb.it/forum-13.html) +--- Forum: General Discussion (https://forum.gekko.wizb.it/forum-14.html) +--- Thread: Forum: Fix idiotic multi-quote view (+sample fix) (/thread-56683.html) |
Forum: Fix idiotic multi-quote view (+sample fix) - tommiehansen - 04-08-2018 Problem When in discussions and users quote eachother it becomes unruly as soon as the text length and number of quotes exceed 1. The reading experience simply degrades quite quickly and it becomes quite distracting with the 3-4 levels of quotes. - Quick and dirty solution 1. Add this JS in the template(s) footer somewhere (preferrably last): Code: var posts = $('#posts'), 2. Add this CSS to the template: Code: .post_body .mycode_quote .mycode_quote { Screen sample -- 'Expand Quotes (4): - To try this live do this in Chrome (or any other sufficient browser with dev-tools): 1. Copy-paste JS and paste+run @ console when in a thread with quotes on quotes etc.. 2. Copy-paste CSS and append to cache/themes/theme3/global.min.css RE: Forum: Fix idiotic multi-quote view (+sample fix) - askmike - 04-10-2018 Great idea. Done! RE: Forum: Fix idiotic multi-quote view (+sample fix) - tommiehansen - 04-10-2018 (04-10-2018, 03:46 PM)askmike Wrote: Great idea. Done! Awesome, thanks. Edit: You suck ...and implemented the code badly: Code: bodies.each(function(){ Somehow you managed to remove the correct var $t = $(this) --and-- quotes = $t.find... |