[dreamwidth/dw-free] ed2b1d: Fix thick-bottomed userpic boxes (#2490)
Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: ed2b1d5f80b90c5682326991d2519d3ca02e40ae
https://github.com/dreamwidth/dw-free/commit/ed2b1d5f80b90c5682326991d2519d3ca02e40ae
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-06-13 (Thu, 13 Jun 2019)
Changed paths:
M htdocs/stc/jquery.contextualhover.css
M styles/core2base/layout.s2
M views/journal/controlstrip.tt
Log Message:
-----------
Fix thick-bottomed userpic boxes (#2490)
* Fix thick-bottomed userpic boxes
A normal is an inline element whose height is derived from font metrics and
line-height, rather than from the height of the box-things in it. The around
a userpic thus adds some extra height to the surrounding div, making styling
difficult and often adding visual glitches. If you make it a block element
and remove the line-height, it will fit snugly to its
contents instead.
* Let's get the one in the controlstrip too!
Home: https://github.com/dreamwidth/dw-free
Commit: ed2b1d5f80b90c5682326991d2519d3ca02e40ae
https://github.com/dreamwidth/dw-free/commit/ed2b1d5f80b90c5682326991d2519d3ca02e40ae
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-06-13 (Thu, 13 Jun 2019)
Changed paths:
M htdocs/stc/jquery.contextualhover.css
M styles/core2base/layout.s2
M views/journal/controlstrip.tt
Log Message:
-----------
Fix thick-bottomed userpic boxes (#2490)
* Fix thick-bottomed userpic boxes
A normal is an inline element whose height is derived from font metrics and
line-height, rather than from the height of the box-things in it. The around
a userpic thus adds some extra height to the surrounding div, making styling
difficult and often adding visual glitches. If you make it a block element
and remove the line-height, it will fit snugly to its
* Let's get the one in the controlstrip too!
