Open Bhavana1v opened 2 months ago
/ custom-table-style.css / @media print { .custom-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.custom-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
Style is being applied for docfx site. But it is not getting applied for the downloaded pdf.
To Reproduce Steps to reproduce the behavior:
Expected behavior Both docfx website and PDF should show similiar table styles.
Context (please complete the following information):
Actual behaviour Website shows correct css style but downloaded pdf is showing theme style itseems..
Additional context If we try to print - custom style is reflected.
Describe the bug We have custom css for "@media print" in normal style and case.
/ custom-table-style.css / @media print { .custom-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.custom-table th, .custom-table td { word-wrap: break-word; overflow: hidden; border: 1px solid #D3d3d3; padding: 5px; / Adjust padding as needed / } }
.custom-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.custom-table th, .custom-table td { word-wrap: break-word; overflow: hidden; border: 1px solid #D3d3d3; padding: 5px; /* Adjust padding as needed
Style is being applied for docfx site. But it is not getting applied for the downloaded pdf.
To Reproduce Steps to reproduce the behavior:
Expected behavior Both docfx website and PDF should show similiar table styles.
Context (please complete the following information):
Actual behaviour Website shows correct css style but downloaded pdf is showing theme style itseems..
Additional context If we try to print - custom style is reflected.