Skip to content

Commit f89ec08

Browse files
authored
UI tooltip sizing #1700
1 parent d9733c0 commit f89ec08

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

static/main.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,18 +1746,18 @@ fieldset.inline {
17461746
color: var(--color-text-inverse);
17471747
padding: 10px 10px;
17481748
border-radius: 6px;
1749-
width: 150px;
1749+
width: max-content;
1750+
max-width: 400px;
1751+
min-width: 150px;
17501752
bottom: 100%;
17511753
left: 50%;
1752-
margin-left: -75px;
1754+
transform: translateX(-50%);
17531755
position: absolute;
17541756
z-index: 1;
17551757
white-space: normal;
17561758
}
17571759

17581760
.prop-tooltip .prop-tooltiptext {
1759-
margin-left: -65px;
1760-
width: 200px;
17611761
margin-bottom: 5px;
17621762
}
17631763

0 commit comments

Comments
 (0)