Atualização automática - 2026-06-24 11:03:55
This commit is contained in:
@@ -158,17 +158,17 @@ export const ReportDisplay: React.FC<ReportDisplayProps> = ({ report }) => {
|
|||||||
const diffColor = isPositive ? 'text-emerald-600 dark:text-emerald-400' : 'text-rose-600 dark:text-rose-400';
|
const diffColor = isPositive ? 'text-emerald-600 dark:text-emerald-400' : 'text-rose-600 dark:text-rose-400';
|
||||||
return (
|
return (
|
||||||
<tr key={i}>
|
<tr key={i}>
|
||||||
<td className="py-0.5 px-1.5">
|
<td className="py-0 px-1.5">
|
||||||
<span className="font-semibold text-[10px] block text-slate-700 dark:text-slate-300 leading-tight" title={item.property}>{item.property}</span>
|
<span className="font-semibold text-[10px] block text-slate-700 dark:text-slate-300 leading-none" title={item.property}>{item.property}</span>
|
||||||
</td>
|
</td>
|
||||||
<td className="py-0.5 px-1 font-mono font-bold text-[10px] text-slate-900 dark:text-slate-100 break-words leading-tight" title={item.certificate}>{item.certificate}</td>
|
<td className="py-0 px-1 font-mono font-bold text-[10px] text-slate-900 dark:text-slate-100 break-words leading-none" title={item.certificate}>{item.certificate}</td>
|
||||||
<td className="py-0.5 px-1 text-center leading-tight">
|
<td className="py-0 px-1 text-center leading-none">
|
||||||
{item.differencePercentage ? (
|
{item.differencePercentage ? (
|
||||||
<span className={`text-[9px] font-bold ${diffColor}`}>{item.differencePercentage}</span>
|
<span className={`text-[9px] font-bold ${diffColor}`}>{item.differencePercentage}</span>
|
||||||
) : <span className="text-slate-300 dark:text-slate-600">-</span>}
|
) : <span className="text-slate-300 dark:text-slate-600">-</span>}
|
||||||
</td>
|
</td>
|
||||||
<td className="py-0.5 px-1 text-right">
|
<td className="py-0 px-1 text-right">
|
||||||
<span className={`inline-flex items-center gap-1 text-[8px] font-bold px-1 py-0.5 rounded-md ${statusClass(item.status)}`}>
|
<span className={`inline-flex items-center gap-1 text-[8px] font-bold px-1 py-0 rounded-md ${statusClass(item.status)}`}>
|
||||||
{statusIcon(item.status)} {item.status}
|
{statusIcon(item.status)} {item.status}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
@@ -209,11 +209,11 @@ export const ReportDisplay: React.FC<ReportDisplayProps> = ({ report }) => {
|
|||||||
<tbody className="divide-y divide-slate-50 dark:divide-slate-800/50 font-mono">
|
<tbody className="divide-y divide-slate-50 dark:divide-slate-800/50 font-mono">
|
||||||
{compliance.chemical.map((item, i) => (
|
{compliance.chemical.map((item, i) => (
|
||||||
<tr key={i}>
|
<tr key={i}>
|
||||||
<td className="py-0.5 px-1.5 font-sans font-semibold text-[10px] text-slate-700 dark:text-slate-300 leading-tight" title={item.element}>{item.element}</td>
|
<td className="py-0 px-1.5 font-sans font-semibold text-[10px] text-slate-700 dark:text-slate-300 leading-none" title={item.element}>{item.element}</td>
|
||||||
<td className="py-0.5 px-1 text-slate-500 dark:text-slate-400 text-[9px] leading-tight break-words" title={item.norm}>{item.norm}</td>
|
<td className="py-0 px-1 text-slate-500 dark:text-slate-400 text-[9px] leading-none break-words" title={item.norm}>{item.norm}</td>
|
||||||
<td className="py-0.5 px-1 font-bold text-[10px] text-slate-900 dark:text-slate-100 break-words leading-tight" title={item.certificate}>{item.certificate}</td>
|
<td className="py-0 px-1 font-bold text-[10px] text-slate-900 dark:text-slate-100 break-words leading-none" title={item.certificate}>{item.certificate}</td>
|
||||||
<td className="py-0.5 px-1.5 text-right">
|
<td className="py-0 px-1.5 text-right">
|
||||||
<span className={`inline-flex items-center text-[8px] font-bold px-1 py-0.5 rounded-md ${statusClass(item.status)}`}>
|
<span className={`inline-flex items-center text-[8px] font-bold px-1 py-0 rounded-md ${statusClass(item.status)}`}>
|
||||||
{item.status}
|
{item.status}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user