• 
      

    Cap image sizes in comment thumbnails.

    Review Request #15020 — Created April 24, 2026 and submitted

    Information

    Review Board
    release-8.x

    Reviewers

    Comments on a region of an image or document have review comment
    thumbnails containing an image element of that region. If the original
    image or document is quite high definition, the image can be wider than
    the review container, leading to horizontal overflow.
    
    A nicer viewing experience is capping the image width to the size of the
    container, so that the full image is in view. This change achieves that.
    • Viewed an image region comment that was previously overflowed, looks
      nicer now.
    • Viewed image region comments that are not overflown, they still look
      normal.
    Summary ID
    Cap image sizes in comment thumbnails.
    Comments on a region of an image or document have review comment thumbnails containing an image element of that region. If the original image or document is quite high definition, the image can be wider than the review container, leading to horizontal overflow. A nicer viewing experience is capping the image width to the size of the container, so that the full image is in view. This change achieves that.
    b80b64e066661725016c0ac6b4e2b0a90747d0c2
    david
    1. Ship It!
    2. 
        
    maubin
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-8.x (2a5c598)