Ver código fonte

fix: improve preview modal text visibility on dark background

- Add explicit light text colors for rendered markdown preview
- Set headings to white for better visibility
- Set paragraphs and list items to light slate (slate-200)
- Set bold text to white and links to cyan-400
- Ensure all text is readable on the dark modal background
Fszontagh 4 meses atrás
pai
commit
4ffa34b975

+ 0 - 1
shopcall.ai-main/public/robots.txt

@@ -8,7 +8,6 @@ Allow: /$
 Allow: /about$
 Allow: /about$
 Allow: /privacy$
 Allow: /privacy$
 Allow: /terms$
 Allow: /terms$
-Allow: /crawler$
 Allow: /integrations/shoprenter$
 Allow: /integrations/shoprenter$
 
 
 # Disallow everything else
 # Disallow everything else

+ 2 - 2
shopcall.ai-main/src/components/ManageStoreDataContent.tsx

@@ -1683,8 +1683,8 @@ export function ManageStoreDataContent() {
           </DialogHeader>
           </DialogHeader>
           <div className="flex-1 overflow-y-auto mt-4">
           <div className="flex-1 overflow-y-auto mt-4">
             {previewMode === 'rendered' ? (
             {previewMode === 'rendered' ? (
-              <div className="prose prose-invert prose-cyan max-w-none">
-                <ReactMarkdown className="text-slate-200">
+              <div className="prose prose-invert prose-cyan max-w-none prose-headings:text-white prose-p:text-slate-200 prose-li:text-slate-200 prose-strong:text-white prose-a:text-cyan-400">
+                <ReactMarkdown>
                   {previewContent?.content || ''}
                   {previewContent?.content || ''}
                 </ReactMarkdown>
                 </ReactMarkdown>
               </div>
               </div>