Selaa lähdekoodia

fix: 智能体选择列表样式修复

王晓东 2 päivää sitten
vanhempi
commit
c2810cf99d

+ 1 - 1
src/components/AvatarMedia/index.tsx

@@ -49,7 +49,7 @@ export const AvatarMedia = ({ source, className, roundedFull = true, mode = 'wid
         autoplay
         onEnded={handleOnEnded}
         objectFit="cover"
-        className={className}
+        className={`overflow-hidden shrink-0 ${roundedFull ? 'rounded-full': ''} ${className}`}
         onError={videoErrorCallback}
         // src="https://cdn.wehome.cn/cmn/mp4/3/META-H8UKWHWU-YAUTZH7ECGRDC57FD3NI3-CUGVCS8M-CD.mp4"
         src={source}

+ 1 - 1
src/pages/dashboard/components/AgentList/index.tsx

@@ -41,7 +41,7 @@ export default ({currentAgent,  setCurrentAgent, show, setShow }: IProps) => {
         {agents.map((item) => {
           return (
             <AgentCard
-              className="border-bottom1-gray py-16"
+              className="border-bottom1-gray py-16 rounded-none"
               key={item.agentId}
               data={item}
               onClick={()=> handleClick(item)}