Skip to content

Commit

Permalink
fix: spectrum textfield validation icon position with set content-box (
Browse files Browse the repository at this point in the history
…#1825)

Moves a DHE fix to DHC.

fixes text field spectrum validation icon position: 

![image](https://github.com/deephaven/web-client-ui/assets/1576283/9f3ce059-9b50-4ade-b2ef-1cb2e0121ed4)

BREAKING CHANGE: the duplicate `spectrum-Textfield-validationIcon` css
in DHE should be removed
  • Loading branch information
dsmmcken authored Feb 23, 2024
1 parent 677e4c5 commit 8d95212
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ label[class^='spectrum-'] {
margin-bottom: 0;
}

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

.svg-inline--fa[class*='spectrum-Icon--sizeS'] {
/*
Resize fontawesome icons used inside a spectrum icon wrapper to match
Expand Down

0 comments on commit 8d95212

Please sign in to comment.