🐛 Stop passing tooltip-class to layout item numeric inputs (#12329)

The layout item min and max size inputs passed :tooltip-class to
numeric-input*, which never reads that prop. It stayed in the rest
props and reached the DOM <input>, so React warned about an unknown
tooltipClass prop. The class never styled anything.

Remove the prop from the four callers and drop the unused
.tooltip-wrapper rule.

Closes #12311

AI-assisted-by: claude-opus-5-5
This commit is contained in:
Eva Marco 2026-10-15 09:36:52 +02:00 committed by GitHub
parent ea45507ac8
commit 9ffd218915
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

View File

@ -602,7 +602,6 @@
:input-type :min-width
:nillable true
:applied-token applied-token-to-min-w
:tooltip-class (stl/css :tooltip-wrapper)
:value min-w}]
[:div {:class (stl/css :layout-item-min-w)
@ -632,7 +631,6 @@
:attr :layout-item-max-w
:property (tr "workspace.options.layout-item.layout-item-max-w")
:nillable true
:tooltip-class (stl/css :tooltip-wrapper)
:applied-token applied-token-to-max-w
:value max-w}]
@ -663,7 +661,6 @@
:attr :layout-item-min-h
:property (tr "workspace.options.layout-item.layout-item-min-h")
:nillable true
:tooltip-class (stl/css :tooltip-wrapper)
:applied-token applied-token-to-min-h
:value min-h}]
@ -694,7 +691,6 @@
:attr :layout-item-max-h
:property (tr "workspace.options.layout-item.layout-item-max-h")
:nillable true
:tooltip-class (stl/css :tooltip-wrapper)
:applied-token applied-token-to-max-h
:value max-h}]

View File

@ -192,7 +192,3 @@
.inputs-wrapper {
grid-column: 1 / span 2;
}
.tooltip-wrapper {
inline-size: 100%;
}