Skip to content

Commit 4d710c5

Browse files
Pk9697Devessier
authored andcommitted
Use button tag for buttons
1 parent eaab2d0 commit 4d710c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/twenty-front/src/modules/ui/layout/dropdown/components/StyledHeaderDropdownButton.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ type StyledDropdownButtonProps = {
55
isActive?: boolean;
66
};
77

8-
export const StyledHeaderDropdownButton = styled.div<StyledDropdownButtonProps>`
8+
export const StyledHeaderDropdownButton = styled.button<StyledDropdownButtonProps>`
9+
font-family: inherit;
910
align-items: center;
1011
background: ${({ theme }) => theme.background.primary};
12+
border:none;
1113
border-radius: ${({ theme }) => theme.border.radius.sm};
1214
color: ${({ isActive, theme, color }) =>
1315
color ?? (isActive ? theme.color.blue : theme.font.color.secondary)};

0 commit comments

Comments
 (0)