File tree Expand file tree Collapse file tree 2 files changed +22
-11
lines changed
src/components/Payroll/PayrollOverview Expand file tree Collapse file tree 2 files changed +22
-11
lines changed Original file line number Diff line number Diff line change 66 container-type : inline-size ;
77 width : 100% ;
88}
9+
10+ .paystubIconWrapper {
11+ display : flex ;
12+ justify-content : flex-start ;
13+
14+ @include container-query (map-get ($global-breakpoints , ' small' )) {
15+ justify-content : flex-end ;
16+ }
17+ }
Original file line number Diff line number Diff line change @@ -234,17 +234,19 @@ export const PayrollOverviewPresentation = ({
234234 key : 'paystubs' ,
235235 title : t ( 'tableHeaders.paystub' ) ,
236236 render : ( employeeCompensations : EmployeeCompensations ) => (
237- < ButtonIcon
238- aria-label = { t ( 'downloadPaystubLabel' ) }
239- variant = "tertiary"
240- onClick = { ( ) => {
241- if ( employeeCompensations . employeeUuid ) {
242- onPaystubDownload ( employeeCompensations . employeeUuid )
243- }
244- } }
245- >
246- < DownloadIcon />
247- </ ButtonIcon >
237+ < div className = { styles . paystubIconWrapper } >
238+ < ButtonIcon
239+ aria-label = { t ( 'downloadPaystubLabel' ) }
240+ variant = "tertiary"
241+ onClick = { ( ) => {
242+ if ( employeeCompensations . employeeUuid ) {
243+ onPaystubDownload ( employeeCompensations . employeeUuid )
244+ }
245+ } }
246+ >
247+ < DownloadIcon />
248+ </ ButtonIcon >
249+ </ div >
248250 ) ,
249251 } )
250252 }
You can’t perform that action at this time.
0 commit comments