Table Text Shifts to the Left of Shaded Cells in HD
Issue
When generating HD inline documents with alternate row coloring enabled, some table text appears to be shifted to the left of the boundary of the table in the output.
Cause
To accommodate left and right orange borders for the EDGAR rendering engine (Arelle viewer) of Inline XBRL HD on text block tags, there is a -2-pixel added to both the left and right margin which produces the issue.
Without the -2-pixel margins on the left and right, the orange borders will appear like this in the Arelle viewer:
With the -2-pixel on the left and right margin, the orange borders will appear like this in the Arelle viewer:
Solution
If you do not want to not have the -2-pixel left and right margin there are two options available:
- Change the config setting <FixStyleForSecInlineViewer> to false.
- Insert a blank gutter column with minimum width (e.g. 10 pixels) at the left of the table in the Excel tables in CDM: