reportes update

This commit is contained in:
Dulce
2025-11-25 13:25:29 -07:00
parent 06c5d32ae0
commit 5387eb25cf
2 changed files with 831 additions and 33 deletions

View File

@@ -4421,7 +4421,8 @@ export default function PedimentoDetail() {
</div>
</div>
) : previewType === 'xml' ? (
<div className="flex-1 flex flex-col bg-white">
// <div className="flex-1 flex flex-col bg-white">
<div className="flex flex-col h-full bg-white">
<div className="bg-gray-100 px-6 py-3 border-b border-gray-200 flex items-center justify-between">
<div className="flex items-center gap-2">
<div className="bg-green-100 p-1.5 rounded-lg">
@@ -4445,10 +4446,14 @@ export default function PedimentoDetail() {
</button>
</div>
<pre
className="flex-1 p-6 overflow-auto text-sm bg-white border-l-4 border-green-400"
className="flex-1 p-6 overflow-x-auto overflow-y-auto text-sm bg-white border-l-4 border-green-400"
// className="flex-1 p-6 overflow-auto text-sm bg-white border-l-4 border-green-400"
style={{
fontFamily: 'ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace',
lineHeight: '1.6'
lineHeight: '1.6',
// minHeight: '400px',
width: '100%',
whiteSpace: 'pre'
}}
dangerouslySetInnerHTML={{ __html: previewXmlHtml }}
/>