refactor: remove unnecessary print container padding for improved layout
This commit is contained in:
@@ -47,10 +47,6 @@ export const PrintPreview: React.FC<PrintPreviewProps> = ({ data, year, month, t
|
|||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.print-container {
|
|
||||||
padding: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.print-table tr {
|
.print-table tr {
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
page-break-after: auto;
|
page-break-after: auto;
|
||||||
@@ -98,7 +94,7 @@ export const PrintPreview: React.FC<PrintPreviewProps> = ({ data, year, month, t
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Print content */}
|
{/* Print content */}
|
||||||
<div className="p-6 print-container">
|
<div className="p-0">
|
||||||
<table className="w-full border-collapse border-2 border-gray-800 print-table">
|
<table className="w-full border-collapse border-2 border-gray-800 print-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr className="bg-gray-100">
|
<tr className="bg-gray-100">
|
||||||
|
|||||||
Reference in New Issue
Block a user