h icon indicating copy to clipboard operation
h copied to clipboard

JavaScript tooltip size is wrong when text too short

Open seanh opened this issue 8 years ago • 0 comments

screenshot from 2016-09-01 14-54-24

@robertknight said:

The solution might be to move the tooltip's black background from the .tooltip element, to the actual label inside it, since the label is an inline element which will grow to fit its content.

Whereas block-level elements are sized horizontally to fit their containing block

seanh avatar Sep 01 '16 17:09 seanh