hypothesis / hypothesis/h

JavaScript tooltip size is wrong when text too short

Open
#3,813 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.2k
Forks
459
Avg merge
27d 1h
Merged PRs (30d)
1

Description

![screenshot from 2016-09-01 14-54-24](https://cloud.githubusercontent.com/assets/22498/18178324/ccb696b8-7075-11e6-8423-b1525b7e5cf3.png)

@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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.