Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: remove unused CSS styles and fix HitTestingPage layout (#30235)
Wu Tianweib85564cae573
diff --git a/web/app/components/datasets/hit-testing/index.tsx b/web/app/components/datasets/hit-testing/index.tsxindex e75ef48abf5..d8104427043 100644--- a/web/app/components/datasets/hit-testing/index.tsx+++ b/web/app/components/datasets/hit-testing/index.tsx@@ -34,7 +34,6 @@ import Records from './components/records'import ResultItem from './components/result-item'import ResultItemExternal from './components/result-item-external'import ModifyRetrievalModal from './modify-retrieval-modal'-import s from './style.module.css'const limit = 10@@ -115,8 +114,8 @@ const HitTestingPage: FC<Props> = ({ datasetId }: Props) => {}, [isMobile, setShowRightPanel])return (- <div className={s.container}>- <div className="flex flex-col px-6 py-3">+ <div className="relative flex h-full w-full gap-x-6 overflow-y-auto pl-6">+ <div className="flex min-w-0 flex-1 flex-col py-3"><div className="mb-4 flex flex-col justify-center"><h1 className="text-base font-semibold text-text-primary">{t('datasetHitTesting.title')}</h1><p className="mt-0.5 text-[13px] font-normal leading-4 text-text-tertiary">{t('datasetHitTesting.desc')}</p>@@ -161,7 +160,7 @@ const HitTestingPage: FC<Props> = ({ datasetId }: Props) => {onClose={hideRightPanel}footer={null}>- <div className="flex flex-col pt-3">+ <div className="flex min-w-0 flex-1 flex-col pt-3">{isRetrievalLoading? (<div className="flex h-full flex-col rounded-tl-2xl bg-background-body px-4 py-3">diff --git a/web/app/components/datasets/hit-testing/style.module.css b/web/app/components/datasets/hit-testing/style.module.cssdeleted file mode 100644index a421962f485..00000000000--- a/web/app/components/datasets/hit-testing/style.module.css+++ /dev/null@@ -1,43 +0,0 @@-.container {- @apply flex h-full w-full relative overflow-y-auto;-}--.container>div {- @apply flex-1 h-full;-}--.commonIcon {- @apply w-3.5 h-3.5 inline-block align-middle;- background-repeat: no-repeat;- background-position: center center;- background-size: contain;-}--.app_icon {- background-image: url(./assets/grid.svg);-}--.hit_testing_icon {- background-image: url(../documents/assets/target.svg);-}--.plugin_icon {- background-image: url(./assets/plugin.svg);-}--.cardWrapper {- display: grid;- grid-template-columns: repeat(auto-fill, minmax(284px, auto));- grid-gap: 16px;- grid-auto-rows: 216px;-}--.clockWrapper {- border: 0.5px solid #eaecf5;- @apply rounded-lg w-11 h-11 flex justify-center items-center;-}--.clockIcon {- mask-image: url(./assets/clock.svg);- @apply bg-gray-500;-}