File tree Expand file tree Collapse file tree 2 files changed +3
-34
lines changed
src/components/BudgetPlannerSection/RecommendationSection Expand file tree Collapse file tree 2 files changed +3
-34
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " investcount" ,
33 "private" : false ,
4- "version" : " 1.2.3 " ,
4+ "version" : " 1.2.4 " ,
55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -20,44 +20,13 @@ const RecommendationSection = (props: RecommendationSectionProps) => {
2020 return (
2121 < div className = 'mt-8' >
2222 < div
23- className = { `flex justify-between alert shadow-lg whitespace-pre-line p-6 rounded-lg ${
23+ className = { `flex flex flex-col sm:flex-row justify-between alert shadow-lg whitespace-pre-line p-6 rounded-lg ${
2424 isPositive
2525 ? 'bg-green-100 border-green-500 text-green-800'
2626 : 'bg-red-100 border-red-500 text-red-800'
2727 } `}
2828 >
29- < div className = 'flex items-center gap-4' >
30- < div
31- className = { `w-10 h-10 flex items-center justify-center rounded-full ${
32- isPositive ? 'bg-green-500 text-white' : 'bg-red-500 text-white'
33- } `}
34- >
35- { isPositive ? (
36- < svg
37- xmlns = 'http://www.w3.org/2000/svg'
38- fill = 'none'
39- viewBox = '0 0 24 24'
40- strokeWidth = { 2 }
41- stroke = 'currentColor'
42- className = 'w-6 h-6'
43- >
44- < path strokeLinecap = 'round' strokeLinejoin = 'round' d = 'M5 13l4 4L19 7' />
45- </ svg >
46- ) : (
47- < svg
48- xmlns = 'http://www.w3.org/2000/svg'
49- fill = 'none'
50- viewBox = '0 0 24 24'
51- strokeWidth = { 2 }
52- stroke = 'currentColor'
53- className = 'w-6 h-6'
54- >
55- < path strokeLinecap = 'round' strokeLinejoin = 'round' d = 'M6 18L18 6M6 6l12 12' />
56- </ svg >
57- ) }
58- </ div >
59- < span className = 'text-lg text-left font-medium' > { recommendation } </ span >
60- </ div >
29+ < span className = 'text-lg text-left font-medium' > { recommendation } </ span >
6130 < button onClick = { handleExportToTxt } className = 'mt-4 btn btn-primary text-sm text-[#ffffff]' >
6231 Download
6332 </ button >
You can’t perform that action at this time.
0 commit comments