fix(app): make close comment button visible in prompt input (#12349)
parent
b551195818
commit
d160cca179
|
|
@ -1799,7 +1799,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
||||||
type="button"
|
type="button"
|
||||||
icon="close-small"
|
icon="close-small"
|
||||||
variant="ghost"
|
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) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
if (item.commentID) comments.remove(item.path, item.commentID)
|
if (item.commentID) comments.remove(item.path, item.commentID)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue