Skip to content

zoom in out functionality added and added responsiveness for mobile s… #3848

zoom in out functionality added and added responsiveness for mobile s…

zoom in out functionality added and added responsiveness for mobile s… #3848

Re-run triggered August 27, 2024 05:51
Status Failure
Total duration 1m 8s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: src/CAREUI/misc/PrintPreview.tsx#L28
Replace `·(prevZoom·<·zoom_values.length·-·1·?·prevZoom·+·1·:·prevZoom)` with `⏎······prevZoom·<·zoom_values.length·-·1·?·prevZoom·+·1·:·prevZoom,⏎····`
lint: src/CAREUI/misc/PrintPreview.tsx#L38
Replace `justify-between·items-center·` with `items-center·justify-between·`
lint: src/CAREUI/misc/PrintPreview.tsx#L43
Replace `md:flex·gap-4">` with `gap-4·md:flex">⏎············{"·"}⏎···········`
lint: src/CAREUI/misc/PrintPreview.tsx#L48
Replace `'-'` with `"-"`
lint: src/CAREUI/misc/PrintPreview.tsx#L49
Replace `·onClick={handleZoomIn}·disabled={zoom·===·zoom_values.length·-·1}` with `⏎··············onClick={handleZoomIn}⏎··············disabled={zoom·===·zoom_values.length·-·1}⏎············`
lint: src/CAREUI/misc/PrintPreview.tsx#L58
Replace `'none'` with `"none"`
lint: src/Components/Medicine/PrintPreview.tsx#L45
Replace `patient·?·`Prescriptions·-·${patient.name}`·:·"Print·Prescriptions"` with `⏎········patient·?·`Prescriptions·-·${patient.name}`·:·"Print·Prescriptions"⏎······`
lint: src/Components/Medicine/PrintPreview.tsx#L52
Replace `md:grid-cols-2·lg:grid-cols-4·gap-y-1.5·border-2·border-secondary-400·p-2` with `gap-y-1.5·border-2·border-secondary-400·p-2·md:grid-cols-2·lg:grid-cols-4`
lint: src/Components/Medicine/PrintPreview.tsx#L53
Replace `<PatientDetail·name="Patient"·className="col-span-1·md:col-span-2·lg:col-span-2"` with `······<PatientDetail⏎··········name="Patient"⏎··········className="col-span-1·md:col-span-2·lg:col-span-2"⏎········`
lint: src/Components/Medicine/PrintPreview.tsx#L54
Insert `······`