Support » Fixing WordPress » padding solution for gallery icons/thumbs in Chrome

  • Resolved twinpowers

    (@twinpowers)


    Using Thematic, I ran into a bottom padding discrepancy between Firefox and Chrome. Chrome’s lack of line-height inheritance on gallery-icon resulted in no padding between the gallery thumb and its bottom border. The solution was to add the following to style.css:

    .gallery dt {line-height: 0;}
    
    .gallery-icon {
    padding-bottom: 6px;
    }
  • The topic ‘padding solution for gallery icons/thumbs in Chrome’ is closed to new replies.