fix(app): make close comment button visible in prompt input (#12349)

pull/11421/head^2
Alex Yaroshuk 2026-02-06 05:23:29 +08:00 committed by GitHub
parent b551195818
commit d160cca179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1799,7 +1799,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
type="button"
icon="close-small"
variant="ghost"
class="ml-auto size-3.5 opacity-0 group-hover:opacity-100 transition-all"
class="ml-auto size-3.5 text-text-weak hover:text-text-strong transition-all"
onClick={(e) => {
e.stopPropagation()
if (item.commentID) comments.remove(item.path, item.commentID)