Commit b2988ea6 by Nixieboluo Committed by GitHub

fix(ui): agent creation preview image overlaps on the text (#7337)

* fix(ui): agent creation preview image overlaps on the text

Signed-off-by: Nixieboluo <me@sagirii.me>

* fix(ui): workflowPreview image have too much gaps

Signed-off-by: Nixieboluo <me@sagirii.me>

---------

Signed-off-by: Nixieboluo <me@sagirii.me>
parent ea45d2dc
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -24,7 +24,7 @@ export const createAppTypeMap = { ...@@ -24,7 +24,7 @@ export const createAppTypeMap = {
title: i18nT('app:type.Chat_Agent_v2'), title: i18nT('app:type.Chat_Agent_v2'),
intro: i18nT('app:chat_agent_intro'), intro: i18nT('app:chat_agent_intro'),
description: i18nT('app:chat_agent_description'), description: i18nT('app:chat_agent_description'),
imgUrl: '/imgs/app/type/chatAgent.svg' imgUrl: '/imgs/app/agentPreview.svg'
}, },
[AppTypeEnum.workflowTool]: { [AppTypeEnum.workflowTool]: {
type: AppTypeEnum.workflowTool, type: AppTypeEnum.workflowTool,
......
...@@ -569,7 +569,7 @@ const CreateAppsPage = () => { ...@@ -569,7 +569,7 @@ const CreateAppsPage = () => {
{isPc && ( {isPc && (
<Box flex={1} position={'relative'}> <Box flex={1} position={'relative'}>
<Box <Box
position={'absolute'} position={'relative'}
zIndex={10} zIndex={10}
top={'60px'} top={'60px'}
left={'50%'} left={'50%'}
...@@ -596,7 +596,7 @@ const CreateAppsPage = () => { ...@@ -596,7 +596,7 @@ const CreateAppsPage = () => {
<MyImage <MyImage
src={createAppTypeMap[selectedAppType].imgUrl} src={createAppTypeMap[selectedAppType].imgUrl}
w={'full'} w={'full'}
position={'absolute'} position={'relative'}
top={0} top={0}
left={0} left={0}
right={0} right={0}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment