Skip to content

Commit

Permalink
fix: remove default margin from native list elements
Browse files Browse the repository at this point in the history
  • Loading branch information
abelflopes committed Jul 4, 2024
1 parent d0ab2a4 commit 1d9d86c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/_provisional/src/menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {

type MenuProps<T extends HTMLTag = "ul"> = React.HTMLAttributes<HTMLElement> &
ConsumerPolymorphicProps<T> &
MenuContextProps;
Partial<MenuContextProps>;

// TODO: add a11y https://react.dev/reference/react-dom/createPortal#rendering-a-dock-dialog-with-a-portal
// TODO: keyboard nav / focus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
.root {
list-style: none;
display: flex;
padding: 0;
margin: 0;
}

.vertical {
Expand Down

0 comments on commit 1d9d86c

Please sign in to comment.