(refactor) ViewBillCard: formatting 3D bar code
This commit is contained in:
@@ -61,7 +61,7 @@ export const ViewBillCard:FC<ViewBillCardProps> = ({ location, bill }) => {
|
|||||||
{
|
{
|
||||||
hub3aText ?
|
hub3aText ?
|
||||||
<div className="form-control p-1">
|
<div className="form-control p-1">
|
||||||
<label className="cursor-pointer label p-2 grow bg-white justify-center">
|
<label className="label p-2 grow bg-white border border-gray-300 rounded-box justify-center">
|
||||||
<Pdf417Barcode hub3aText={hub3aText} />
|
<Pdf417Barcode hub3aText={hub3aText} />
|
||||||
</label>
|
</label>
|
||||||
<p className="text-xs my-1">{t.rich('barcode-disclaimer', { br: () => <br /> })}</p>
|
<p className="text-xs my-1">{t.rich('barcode-disclaimer', { br: () => <br /> })}</p>
|
||||||
@@ -70,7 +70,7 @@ export const ViewBillCard:FC<ViewBillCardProps> = ({ location, bill }) => {
|
|||||||
// LEGACY SUPPORT ... untill all bills have been migrated
|
// LEGACY SUPPORT ... untill all bills have been migrated
|
||||||
barcodeImage ?
|
barcodeImage ?
|
||||||
<div className="p-1">
|
<div className="p-1">
|
||||||
<label className="label p-2 grow bg-white">
|
<label className="label p-2 grow bg-white border border-gray-300 rounded-box justify-center">
|
||||||
<img src={barcodeImage} className="grow sm:max-w-[350px]" alt="2D Barcode" />
|
<img src={barcodeImage} className="grow sm:max-w-[350px]" alt="2D Barcode" />
|
||||||
</label>
|
</label>
|
||||||
<p className="text-xs my-1">{t.rich('barcode-disclaimer', { br: () => <br /> })}</p>
|
<p className="text-xs my-1">{t.rich('barcode-disclaimer', { br: () => <br /> })}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user