Discussion post/thread > fix squished images

Ready
There seems to be a new rule in the standard HL CSS file that sets the max-width of all images within discussion posts to 400px. This can cause issues for two reasons:
  1. It only sets the width of the image so the inline height still applies, causing the image to be squished horizontally.
  2. If the image needs to be big in order to view detail or text within the image then you are out of luck unless you or the poster also provided a link to the image.

Here are 2 fixes:

  1. Override the CSS like this so that the image displays as originally intended.
    .digestViewerMessageDetails img{
       max-width:10000px !important;
    }
  2. Set the height to auto so that the image scales properly with this CSS:

Enjoy.



#CSS
0 comments
0 Views
0 revisions
 

Related Links

No Related Resource entered.