Refactor/dropdown menu (#279)
* Created dropdown menu UI component with story * Added all components for composing Dropdown Menus * Better component naming and reordered stories * Solved comment thread from review
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
export const DropdownMenuItemContainer = styled.div`
|
||||
--padding: ${(props) => props.theme.spacing(1 / 2)};
|
||||
|
||||
width: calc(100% - 2 * var(--padding));
|
||||
height: 100%;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
padding: var(--padding);
|
||||
gap: 2px;
|
||||
`;
|
||||
Reference in New Issue
Block a user