Fix table column header alignment on reporting grids#811
Merged
StuartFerguson merged 3 commits intomainfrom Mar 10, 2026
Merged
Fix table column header alignment on reporting grids#811StuartFerguson merged 3 commits intomainfrom
StuartFerguson merged 3 commits intomainfrom
Conversation
…g, and paging Co-authored-by: StuartFerguson <[email protected]>
Copilot
AI
changed the title
[WIP] Fix alignment and paging issues in transaction summary by merchant
Transaction Summary By Merchant: fix alignment, add column sorting and pagination
Mar 10, 2026
….table th specificity Co-authored-by: StuartFerguson <[email protected]>
Copilot
AI
changed the title
Transaction Summary By Merchant: fix alignment, add column sorting and pagination
Fix table column header alignment on reporting grids
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Numeric column headers were rendering left-aligned while their data cells were right-aligned, causing a visible misalignment on the Transaction Summary by Merchant grid (and the same pattern on Operator and Detail grids).
Root cause: The
.table thcomponent rule inapp.cssappliestext-leftwith specificity[0,1,1](class + element), which silently wins over a plaintext-rightutility class at[0,1,0].Fix: Replace
text-right/text-centerwith Tailwind's!text-right/!text-center(emits!important) on all numeric/action<th>elements across three reporting pages:Files changed:
TransactionSummaryMerchant.razor— Total Count, Total Value, Average Value, Successful, Failed, Success Rate, ActionsTransactionSummaryOperator.razor— Transaction Count, Transaction Value, Average Value, Successful, Failed, Success Rate, ActionsTransactionDetail.razor— Gross Amount, Fees, Net AmountOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.