-
Notifications
You must be signed in to change notification settings - Fork 4
fix: alignment for pay stub text in table on payroll overview #868
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
base: main
Are you sure you want to change the base?
Conversation
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.
Mentioned in slack, but the ticket was dealing with adjusting the paystub text to be left aligned so we may be able to simplify!
| > | ||
| <DownloadIcon /> | ||
| </ButtonIcon> | ||
| <div className={styles.paystubIconWrapper}> |
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.
I wonder if we need more generalized approach for these buttons... also, could this class name be applied to ButtonIcon directly, without a wrapper?
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.
I did make a change to support consistent action buttons in that dataview pr. Might be worth a look even if we don't merge that one.
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.
Updated the PR based on your design changes @aaronlee777
d705b05 to
eedf43e
Compare
serikjensen
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.
Looking good! just a couple of things
| @include container-query(map-get($global-breakpoints, 'small')) { | ||
| justify-content: flex-end; | ||
| } |
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.
Looks like this is only applied to the desktop view, could we remove this conditional container query styling?
| ] | ||
|
|
||
| const actions = ( | ||
| <ActionsLayout justifyContent="end"> |
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.

Aligned the paystub download icon in the Payroll Overview table to improve visual consistency across different screen sizes.
SDK-198
Changes
Implementation
.paystubIconWrapperCSS class to handle responsive alignmentcontainer-querymixin with thesmallbreakpoint (40em) to match codebase patternsScreen.Recording.2025-12-16.at.1.46.37.PM.mov