diff options
| author | David Hill <[email protected]> | 2025-12-17 12:05:16 +0000 |
|---|---|---|
| committer | adamelmore <[email protected]> | 2026-01-26 15:35:09 -0600 |
| commit | 9d1cf98192fdcfb9a76044c0cb9818565198a769 (patch) | |
| tree | 3d4830fc229d29ffa021f2653e1cb8818f4fd0f9 /packages/ui/src/components | |
| parent | 7b3d5f1d68c570335d8111ca735168904e10d5d0 (diff) | |
| download | opencode-9d1cf98192fdcfb9a76044c0cb9818565198a769.tar.gz opencode-9d1cf98192fdcfb9a76044c0cb9818565198a769.zip | |
fix: search clear icon
Diffstat (limited to 'packages/ui/src/components')
| -rw-r--r-- | packages/ui/src/components/list.css | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/ui/src/components/list.css b/packages/ui/src/components/list.css index 154102ca3..c30d410f6 100644 --- a/packages/ui/src/components/list.css +++ b/packages/ui/src/components/list.css @@ -105,6 +105,24 @@ color: var(--icon-active); } } + + > [data-component="icon-button"] { + background-color: transparent; + + &:hover:not(:disabled), + &:focus:not(:disabled), + &:active:not(:disabled) { + background-color: transparent; + } + + &:hover:not(:disabled) [data-slot="icon-svg"] { + color: var(--icon-hover); + } + + &:active:not(:disabled) [data-slot="icon-svg"] { + color: var(--icon-active); + } + } } [data-slot="list-scroll"] { |
