Skip to content

Commit

Permalink
chore(clerk-js): Applied some code-style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
octoper committed Jan 17, 2024
1 parent cad4676 commit bbadfec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const OrganizationMembersTabInvitations = () => {
sx={t => ({
width: '100%',
gap: t.space.$8,
paddingBottom: `${t.space.$4}`,
paddingBottom: t.space.$4,
borderBottom: `${t.borders.$normal} ${t.colors.$blackAlpha100}`,
[mqu.md]: {
flexDirection: 'column',
Expand Down
4 changes: 1 addition & 3 deletions packages/clerk-js/src/ui/elements/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export const MenuItem = (props: MenuItemProps) => {
variant={destructive ? 'ghostDanger' : 'ghost'}
role='menuitem'
onKeyDown={onKeyDown}
focusRing={false}
onClick={e => {
onClick?.(e);
closeAfterClick && toggle();
Expand All @@ -194,9 +195,6 @@ export const MenuItem = (props: MenuItemProps) => {
justifyContent: 'start',
borderRadius: theme.radii.$sm,
padding: `${theme.space.$1} ${theme.space.$3}`,
':focus': {
boxShadow: 'none',
},
}),
sx,
]}
Expand Down
4 changes: 1 addition & 3 deletions packages/clerk-js/src/ui/elements/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,14 @@ const NavButton = (props: NavButtonProps) => {
size='md'
isActive={isActive}
hoverAsFocus
focusRing={false}
{...rest}
sx={[
t => ({
gap: t.space.$3,
justifyContent: 'flex-start',
backgroundColor: isActive ? t.colors.$blackAlpha100 : undefined,
opacity: isActive ? 1 : 0.6,
':focus': {
boxShadow: 'none',
},
}),
sx,
]}
Expand Down

0 comments on commit bbadfec

Please sign in to comment.