Skip to content

Commit

Permalink
fix: Update Spectrum Theme for Missing ContextualHelpTrigger Icon (#2330
Browse files Browse the repository at this point in the history
)

This is for `ui.menu`
https://deephaven.atlassian.net/browse/DH-18089
The ContexualHelpTrigger icon does not display because incorrect
box-sizing.
  • Loading branch information
dgodinez-dh authored Jan 10, 2025
1 parent 6a08198 commit 5f6c8d6
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ label[class*='spectrum-'] {
margin-bottom: 0;
}

/*
* This workaround can be removed when this fix is pulled in
* https://github.com/adobe/react-spectrum/issues/7571
*/
[class*='spectrum-Menu-itemGrid'] svg,
svg[class*='spectrum-Textfield-validationIcon'] {
/* set as border-box by reboot, but spectrum expects this to be content-box */
box-sizing: content-box;
}

svg[class*='spectrum-Textfield-validationIcon'] {
/* set as border-box by reboot, but spectrum expects this to be content-box */
box-sizing: content-box;
Expand Down

0 comments on commit 5f6c8d6

Please sign in to comment.