Skip to content

Commit 39d5672

Browse files
committed
Add the missing transition
1 parent 833b8eb commit 39d5672

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/dashboard/user_management/EditableRoleCell.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ const EditableRoleCell = ({ role, onRoleChange }: EditableRoleCellProps) => {
122122
p={2}
123123
borderRadius="5px"
124124
width="100px"
125+
transition="background-color 0.3s ease-in-out"
125126
>
126127
<Text textStyle="cellBody" flexGrow={1}>
127128
{newRole === 'TEACHER' ? 'Teacher' : 'Admin'}

0 commit comments

Comments
 (0)