Skip to content

Commit 8d95212

Browse files
authored
fix: spectrum textfield validation icon position with set content-box (#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
1 parent 677e4c5 commit 8d95212

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/components/src/theme/theme-spectrum/theme-spectrum-overrides.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ label[class^='spectrum-'] {
99
margin-bottom: 0;
1010
}
1111

12+
svg[class*='spectrum-Textfield-validationIcon'] {
13+
/* set as border-box by reboot, but spectrum expects this to be content-box */
14+
box-sizing: content-box;
15+
}
16+
1217
.svg-inline--fa[class*='spectrum-Icon--sizeS'] {
1318
/*
1419
Resize fontawesome icons used inside a spectrum icon wrapper to match

0 commit comments

Comments
 (0)