Skip to content

Commit

Permalink
Merge branch 'main' into feat/google-analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshift authored Nov 13, 2024
2 parents 37b1cf9 + 7a5c1d5 commit 3816b71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/shared/components/draggable-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface Props {
className?: ClassValue;
}

const WRAPPER_CLASSNAME = 'hide-scrollbar p-1';
const WRAPPER_CLASSNAME = 'hide-scrollbar p-1 overflow-auto';

export const DraggableWrapper = (props: Props) => {
const { children, className } = props;
Expand Down
4 changes: 2 additions & 2 deletions src/shared/components/info-tag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ export const InfoTag = (props: Props) => {

const content = (
<>
{icon}
<div className='shrink-0'>{icon}</div>
<span className="max-w-[32ch] truncate text-sm md:max-w-[44ch] lg:text-xs">
{text}
</span>
{showExternalIcon && <ExternalIcon />}
<div className='shrink-0'>{showExternalIcon && <ExternalIcon />}</div>
</>
);

Expand Down
4 changes: 2 additions & 2 deletions src/shared/components/info-tag/info-tag-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const InfoTagLink = ({ className, href, content }: Props) => {
};

return (
<Button className={className} onClick={onClick}>
<div className="flex items-center gap-x-2">{content}</div>
<Button className={`${className} max-w-full`} onClick={onClick}>
<div className="flex max-w-full items-center gap-x-2">{content}</div>
</Button>
);
};

0 comments on commit 3816b71

Please sign in to comment.