-
-
Notifications
You must be signed in to change notification settings - Fork 572
4672: Align numeric values to the right #5316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@napster235 I changed "resolves" to "partial" above, as there may be (i think are) more alignment issues than just the numeric columns. ("Resolves" would cause the workflow to close the issue when this is merged.) |
|
Sure, no prob @cielf. I searched in other places for alignment issues and I couldn't find any. Maybe I missed them. But all looked ok to me. If you know a specific place do let me know. Thanks |
|
Changing it back to resolves -- I think this solves the "does the header align with the content" problem. We definitely have some inconsistencies between different pages, but those can be a different issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@napster235 Thank you for this!
-- One minor thing around barcodes to adjust.
There are other alignment-related issues we have, but I'm going to take those to a different issue -- this will take care of all the alignment between header and content issues.
| <td><%= barcode_item_row.quantity %></td> | ||
| <td><%= barcode_item_row.value %></td> | ||
| <td class="numeric"><%= barcode_item_row.quantity %></td> | ||
| <td class="numeric"><%= barcode_item_row.value %></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm.. Barcodes are a weird case. The barcodes are strings made of digits, but they aren't amounts.
They should be left-justified. For clarity, The quantities should be right justified, but the actual barcodes left-justified.
| <tr> | ||
| <th>Item Type</th> | ||
| <th class="text-right">Quantity in the Box</th> | ||
| <th class="text-right">Barcode</th> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and hence the header for barcode should be left-justified as well.
|
@cielf I made the changes. This is how the barcode table looks now. |
cielf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@napster235: Your PR |

Resolves #4672
Description
Type of change
How Has This Been Tested?
Manually tested
Screenshots
Barcode Items




Donations
Inventory Transfers
Manufacturers