Bläddra i källkod

fix: adjust position of table of contents in Doc component (#15996)

GuanMu 1 månad sedan
förälder
incheckning
db7a37a111
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      web/app/(commonLayout)/datasets/Doc.tsx

+ 1 - 1
web/app/(commonLayout)/datasets/Doc.tsx

@@ -68,7 +68,7 @@ const Doc = ({ apiBaseUrl }: DocProps) => {
 
   return (
     <div className="flex">
-      <div className={`fixed right-16 top-32 z-10 transition-all ${isTocExpanded ? 'w-64' : 'w-10'}`}>
+      <div className={`fixed right-20 top-32 z-10 transition-all ${isTocExpanded ? 'w-64' : 'w-10'}`}>
         {isTocExpanded
           ? (
             <nav className="toc w-full bg-gray-50 p-4 rounded-lg shadow-md max-h-[calc(100vh-150px)] overflow-y-auto">