Skip to content

Commit

Permalink
Update specificity on text margin reset, update overflow in tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjacob committed Jul 31, 2024
1 parent fbd5573 commit 2d03d79
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-pagoda/ui",
"version": "0.2.3",
"version": "0.2.4",
"description": "A React component library that implements the official NEAR design system.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 0 additions & 2 deletions src/components/Tabs.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
flex-direction: column;
gap: var(--gap-m);
width: 100%;
overflow: auto;
scroll-behavior: smooth;

&[data-size='small'] {
--tabs-font: var(--text-xs);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const List = forwardRef<HTMLDivElement, ListProps>((props, ref) => {
});
List.displayName = 'List';

export const Content = forwardRef<HTMLDivElement, ContentProps>((props, ref) => {
export const Content = forwardRef<HTMLDivElement, ContentProps>(({ tabIndex = -1, ...props }, ref) => {
return <Primitive.Content className={s.content} ref={ref} {...props} />;
});
Content.displayName = 'Content';
Expand Down

0 comments on commit 2d03d79

Please sign in to comment.