WordPress.org

Make WordPress Core

Ticket #14303: image-edits.diff

File image-edits.diff, 656 bytes (added by iandstewart, 4 years ago)
  • style.css

     
    762762        margin: 0; 
    763763        height: auto; 
    764764        max-width: 640px; 
     765        width: auto; 
    765766} 
    766767#content .attachment img { 
    767768        max-width: 900px; 
  • attachment.php

     
    99 
    1010get_header(); ?> 
    1111 
    12                 <div id="container"> 
     12                <div id="container" class="single-attachment"> 
    1313                        <div id="content" role="main"> 
    1414 
    1515<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>