presidio ok v.1 button

This commit is contained in:
nBiqoz
2025-07-28 22:40:53 +02:00
parent 499362fb3f
commit a7b0b32582
4 changed files with 6 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ export const FileUploadComponent = ({
<div className="p-4 sm:p-6">
{/* Zone de texte avec limite de hauteur et scroll */}
<div className="bg-gray-50 border border-gray-200 rounded-lg p-3 sm:p-4 max-h-48 overflow-y-auto">
<div className="bg-gray-50 border border-gray-200 rounded-lg p-3 sm:p-4 max-h-48 overflow-y-auto overflow-x-hidden">
{isLoadingFile ? (
<div className="flex items-center justify-center py-8">
<div className="flex items-center space-x-3">
@@ -73,7 +73,7 @@ export const FileUploadComponent = ({
</div>
</div>
) : (
<pre className="text-xs sm:text-sm text-gray-700 whitespace-pre-wrap font-mono">
<pre className="text-xs sm:text-sm text-gray-700 whitespace-pre-wrap font-mono break-words overflow-wrap-anywhere">
{sourceText || "Aucun contenu à afficher"}
</pre>
)}