Fix margin-content and miniature thumbnail width on mobile, fix media queries for tables above lg breakpoint