fix(style): input text hover
This commit is contained in:
@@ -137,7 +137,7 @@ const GroundReranker: React.FC<MessageProps> = forwardRef((props, ref) => {
|
|||||||
setMessageList([
|
setMessageList([
|
||||||
...currentMessageRef.current,
|
...currentMessageRef.current,
|
||||||
{
|
{
|
||||||
title: 'Result',
|
title: 'Results',
|
||||||
content: result.results?.map((item: any) => {
|
content: result.results?.map((item: any) => {
|
||||||
return {
|
return {
|
||||||
uid: item.index,
|
uid: item.index,
|
||||||
|
|||||||
@@ -12,6 +12,15 @@
|
|||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
border-bottom: 1px solid var(--ant-color-split);
|
border-bottom: 1px solid var(--ant-color-split);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--ant-color-fill-tertiary);
|
||||||
|
|
||||||
|
.btn-group {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:focus-within {
|
&:focus-within {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -26,14 +35,5 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: var(--ant-color-fill-tertiary);
|
|
||||||
|
|
||||||
.btn-group {
|
|
||||||
display: flex;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user