Skip to content

Commit bef524e

Browse files
committed
#1659 can tab through delete and add
1 parent a16c9ac commit bef524e

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

src/frontend/src/pages/FinancePage/ReimbursementRequestForm/ReimbursementProductTable.tsx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,27 @@ const ReimbursementProductTable: React.FC<ReimbursementProductTableProps> = ({
144144
{errors.reimbursementProducts?.[product.index]?.cost?.message}
145145
</FormHelperText>
146146
</FormControl>
147-
<IconButton onClick={() => removeProduct(product.index)}>
147+
<IconButton
148+
sx={{
149+
'&:focus': {
150+
backgroundColor: '#f5f5f5'
151+
}
152+
}}
153+
onClick={() => removeProduct(product.index)}
154+
>
148155
<Delete />
149156
</IconButton>
150157
</Box>
151158
</ListItem>
152159
))}
153160
</Box>
154161
<Button
155-
sx={{ margin: '4px' }}
162+
sx={{
163+
margin: '4px',
164+
'&:focus': {
165+
backgroundColor: '#fdf8f8'
166+
}
167+
}}
156168
startIcon={<Add />}
157169
onClick={() =>
158170
appendProduct({

0 commit comments

Comments
 (0)