diff --git a/web/app/(shareLayout)/layout.tsx b/web/app/(shareLayout)/layout.tsx index 9e3e8ad4fb..9c4632cd45 100644 --- a/web/app/(shareLayout)/layout.tsx +++ b/web/app/(shareLayout)/layout.tsx @@ -6,11 +6,9 @@ const Layout: FC<{ children: React.ReactNode }> = ({ children }) => { return ( -
-
- - {children} -
+
+ + {children}
) } diff --git a/web/app/components/datasets/hit-testing/index.tsx b/web/app/components/datasets/hit-testing/index.tsx index 489c65786d..11858723b4 100644 --- a/web/app/components/datasets/hit-testing/index.tsx +++ b/web/app/components/datasets/hit-testing/index.tsx @@ -17,6 +17,7 @@ import ModifyRetrievalModal from './modify-retrieval-modal' import type { HitTestingResponse, HitTesting as HitTestingType } from '@/models/datasets' import Loading from '@/app/components/base/loading' import Modal from '@/app/components/base/modal' +import Drawer from '@/app/components/base/drawer' import Pagination from '@/app/components/base/pagination' import FloatRightContainer from '@/app/components/base/float-right-container' import { fetchTestingRecords } from '@/service/datasets' @@ -206,7 +207,7 @@ const HitTesting: FC = ({ datasetId }: Props) => { }} />} - {isShowModifyRetrievalModal && ( + setIsShowModifyRetrievalModal(false)} footer={null} mask={isMobile} panelClassname='mt-16 mx-2 sm:mr-2 mb-3 !p-0 !max-w-[640px] rounded-xl'> = ({ datasetId }: Props) => { setIsShowModifyRetrievalModal(false) }} /> - )} +
) } diff --git a/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx b/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx index 31524ad1dc..e6a503ebf4 100644 --- a/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx +++ b/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx @@ -66,9 +66,8 @@ const ModifyRetrievalModal: FC = ({ return (
-
-
- -
-
{appBasicInfo.name}
-
+
+
+ +
+
{appBasicInfo.name}
-
{app.description}
-
-
- -
-
-
+
{app.description}
+
+
+ +
+
+ + {canCreate && ( + - {canCreate && ( - - )} -
+ )}
diff --git a/web/app/components/explore/app-card/style.module.css b/web/app/components/explore/app-card/style.module.css index dc0b96e448..6bde516376 100644 --- a/web/app/components/explore/app-card/style.module.css +++ b/web/app/components/explore/app-card/style.module.css @@ -1,7 +1,3 @@ -.wrap { - min-width: 312px; -} - .mode { display: flex; height: 28px; diff --git a/web/app/components/explore/app-list/index.tsx b/web/app/components/explore/app-list/index.tsx index f219358738..18b651b0d0 100644 --- a/web/app/components/explore/app-list/index.tsx +++ b/web/app/components/explore/app-list/index.tsx @@ -97,14 +97,9 @@ const Apps: FC = () => { value={currCategory} onChange={setCurrCategory} /> -
+