Skip to content

Commit

Permalink
fix #242 removing the gap on the left
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjishiromajp committed Nov 6, 2023
1 parent ec6bc68 commit 0fdf218
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Accordion<T extends object>(

return (
<div {...filterDOMProps(finalProps)} {...accordionProps} ref={domRef} className={styles({ className, rounded })}>
<div className="mt-[-1px]">
<div className="ml-[-1px] mt-[-1px]">
{[...state.collection].map(item => (
<AccordionItem<T> key={item.key} item={item} state={state} look={look} />
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export const styles = tv(
look: 'lego',
isOpen: true,
className: 'border-l-hero',
// className: 'border-l-hero',
},
{
slots: ['content'],
Expand Down

0 comments on commit 0fdf218

Please sign in to comment.