diff --git a/web/index.css b/web/index.css index b5d0dc07..0d48f12a 100644 --- a/web/index.css +++ b/web/index.css @@ -4,3 +4,19 @@ } @custom-variant dark (&:where(.dark, .dark *)); + +/* safelist 一些不会在源码里出现的类 */ +@source inline( + 'to-neutral-100', + 'to-indigo-700', + 'from-indigo-100/80', + 'backdrop-blur-xl', + 'to-purple-100/60', + 'min-w-xl', + 'to-purple-500', + 'overflow-y-auto', + 'max-h-64', + 'overflow-hidden', + 'translate-x-5', + 'translate-x-0' +); \ No newline at end of file diff --git a/web/src/app/Mcp.tsx b/web/src/app/Mcp.tsx index 3b2dd363..1f2a3227 100644 --- a/web/src/app/Mcp.tsx +++ b/web/src/app/Mcp.tsx @@ -323,7 +323,7 @@ export function Mcp() { className="relative" > {/* Enhanced container with fixed height and layers */} -
+
{/* Subtle background patterns for depth */}