mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix: styles and texts
This commit is contained in:
@@ -60,7 +60,7 @@ export const ItemsDetectTool = ({ file, data }: { file?: File; data: Transaction
|
||||
</div>
|
||||
|
||||
{file && data.items && data.items.length > 1 && (
|
||||
<Button onClick={handleSplit} className="mt-2 px-4 py-2" disabled={isSplitting}>
|
||||
<Button variant="outline" onClick={handleSplit} className="mt-2 px-4 py-2" disabled={isSplitting}>
|
||||
{isSplitting ? (
|
||||
<>
|
||||
<Loader2 className="w-4 h-4 mr-2 animate-spin" />
|
||||
|
||||
@@ -217,7 +217,7 @@ export default function TransactionEditForm({
|
||||
</div>
|
||||
|
||||
{formData.items && Array.isArray(formData.items) && formData.items.length > 0 && (
|
||||
<ToolWindow title="Items or products detected">
|
||||
<ToolWindow title="Detected items">
|
||||
<ItemsDetectTool data={formData as TransactionData} />
|
||||
</ToolWindow>
|
||||
)}
|
||||
|
||||
@@ -21,7 +21,7 @@ export function AnalyzeAllButton() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-row gap-2">
|
||||
<div className="flex flex-row flex-wrap gap-2 justify-end">
|
||||
<Button variant="outline" className="flex items-center gap-2" onClick={handleSaveAll}>
|
||||
<Save className="h-4 w-4" />
|
||||
Save all
|
||||
|
||||
@@ -146,7 +146,7 @@ export default function AnalyzeForm({
|
||||
<>
|
||||
{file.isSplitted ? (
|
||||
<div className="flex justify-end">
|
||||
<Badge variant="outline">This file has been split</Badge>
|
||||
<Badge variant="outline">This file has been split up</Badge>
|
||||
</div>
|
||||
) : (
|
||||
<Button className="w-full mb-6 py-6 text-lg" onClick={startAnalyze} disabled={isAnalyzing} data-analyze-button>
|
||||
@@ -303,7 +303,7 @@ export default function AnalyzeForm({
|
||||
))}
|
||||
|
||||
{formData.items && formData.items.length > 0 && (
|
||||
<ToolWindow title="Items or products detected">
|
||||
<ToolWindow title="Detected items">
|
||||
<ItemsDetectTool file={file} data={formData} />
|
||||
</ToolWindow>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user