WordPress.org

Make WordPress Core

Ticket #21151: 21151.2.diff

File 21151.2.diff, 1.2 KB (added by obenland, 8 years ago)
  • wp-content/themes/twentyten/style.css

     
    782782img.size-full,
    783783img.size-large,
    784784img.size-medium,
    785 .attachment img {
     785.attachment img,
     786.widget-container img {
    786787        max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    787788        height: auto; /* Override height to match resized width for correct aspect ratio. */
    788789}
     
    11301131        display: none;
    11311132}
    11321133.widget-container {
     1134        word-wrap: break-word;
     1135        -webkit-hyphens: auto;
     1136        -moz-hyphens: auto;
     1137        hyphens: auto;
    11331138        margin: 0 0 18px 0;
    11341139}
     1140.widget-container .wp-caption img {
     1141        margin: auto;
     1142}
    11351143.widget-title {
    11361144        color: #222;
    11371145        font-weight: bold;
  • wp-content/themes/twentyeleven/style.css

     
    17521752        font-size: 12px;
    17531753}
    17541754.widget {
     1755        word-wrap: break-word;
     1756        -webkit-hyphens: auto;
     1757        -moz-hyphens: auto;
     1758        hyphens: auto;
    17551759        clear: both;
    17561760        margin: 0 0 2.2em;
    17571761}