WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] padding solution for gallery icons/thumbs in Chrome (1 post)

  1. twinpowers
    Member
    Posted 2 years ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic