Merged in fix/SW-2478-search-label-inverted-colors (pull request #1850)
fix: colors of the search field on <JumpTo/> had inverted behaviour * fix: colors of the search field on <JumpTo/> had inverted behaviour Approved-by: Linus Flood
This commit is contained in:
@@ -112,7 +112,7 @@ export function Search({
|
||||
<label
|
||||
{...getLabelProps({ htmlFor: SEARCH_TERM_NAME })}
|
||||
className={labelVariants({
|
||||
color: !withSearchButton || isOpen ? "red" : "default",
|
||||
color: withSearchButton && isOpen ? "default" : "red",
|
||||
})}
|
||||
>
|
||||
<Typography variant="Body/Supporting text (caption)/smBold">
|
||||
|
||||
Reference in New Issue
Block a user