josdejong / josdejong/jsoneditor

error tooltip cuts off when text is long

Open
#992 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

The tooltip when there is an error is cutoff when the message is long.
The popover has a fixed width of 200px.

![image](https://user-images.githubusercontent.com/5973652/82759683-e9ca8e80-9dbc-11ea-8ae1-c01b26b7f39b.png)

Using `width: auto;` fixes the problem but then the tip is not aligned with the warning icon

![image](https://user-images.githubusercontent.com/5973652/82759771-5f365f00-9dbd-11ea-8b0c-f1464ba81c52.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.