Add a line-height to .avatar-missing.

Review Request #9465 - Created Dec. 29, 2017 and submitted

David Trowbridge
Djblets
release-1.0.x
ec1f016...
djblets

The missing avatar display didn't define the line height, which meant we
were at the mercy of the element's inherted vertical alignment. This
change fixes that so that the size of the question mark element is
always the same height as its container.

Saw the correct alignment in both Review Board and elsewhere.

  • 0
  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Christian Hammond
  1. 
      
  2. djblets/static/djblets/css/avatars.less (Diff revision 1)
     
     
     
     
     

    Can we add a constant for all this?

  3. 
      
David Trowbridge
Christian Hammond
  1. 
      
  2. djblets/static/djblets/css/avatars.less (Diff revision 2)
     
     

    Can you set this to @avatar-size + 2px? It's for the border.

  3. 
      
David Trowbridge
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (7ebdd75)
Loading...