Skip to content

Commit 6c29eda

Browse files
Add border to the last item of dropdown list
1 parent d670b9d commit 6c29eda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/components/dropdown/Dropdown.component.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ const DropdownMenuItemStyled = styled.li`
7979
&:active {
8080
background-color: ${getThemePropSelector('highlight')};
8181
}
82+
&:last-child {
83+
border-bottom: 0.3px solid ${getThemePropSelector('border')};
84+
}
8285
`;
8386
const Caret = styled.span`
8487
margin-left: ${spacing.r16};

0 commit comments

Comments
 (0)