diff --git a/src/pages/playground/components/ground-reranker.tsx b/src/pages/playground/components/ground-reranker.tsx index fdbe91d..832854e 100644 --- a/src/pages/playground/components/ground-reranker.tsx +++ b/src/pages/playground/components/ground-reranker.tsx @@ -137,7 +137,7 @@ const GroundReranker: React.FC = forwardRef((props, ref) => { setMessageList([ ...currentMessageRef.current, { - title: 'Result', + title: 'Results', content: result.results?.map((item: any) => { return { uid: item.index, diff --git a/src/pages/playground/style/input-list.less b/src/pages/playground/style/input-list.less index 4459c9d..c8694fa 100644 --- a/src/pages/playground/style/input-list.less +++ b/src/pages/playground/style/input-list.less @@ -12,6 +12,15 @@ transition: background-color 0.3s ease; border-bottom: 1px solid var(--ant-color-split); + &:hover { + background-color: var(--ant-color-fill-tertiary); + + .btn-group { + display: flex; + gap: 8px; + } + } + &:focus-within { background-color: transparent; } @@ -26,14 +35,5 @@ display: flex; gap: 8px; } - - &:hover { - background-color: var(--ant-color-fill-tertiary); - - .btn-group { - display: flex; - gap: 8px; - } - } } }