Skip to content

Commit

Permalink
chore: clean up styling further
Browse files Browse the repository at this point in the history
  • Loading branch information
thekidnamedkd committed Jun 28, 2024
1 parent 8fd78a3 commit 2dcf1d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions src/@aragon/ods-old/components/headers/headerDao.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ export const HeaderDao: React.FC<HeaderDaoProps> = ({
<Button
iconRight={IconType.CHEVRON_DOWN}
variant="tertiary"
size="lg"
size="sm"
responsiveSize={{md: 'md'}}
className="text-nowrap"
>
All Links
Expand All @@ -235,7 +236,8 @@ export const HeaderDao: React.FC<HeaderDaoProps> = ({
<Button
onClick={onFollowClick}
variant="tertiary"
size="lg"
size="sm"
responsiveSize={{md: 'md'}}
iconLeft={following ? IconType.CHECKMARK : undefined}
>
{following ? labels.following : labels.follow}
Expand Down Expand Up @@ -283,7 +285,8 @@ const Description = styled.p.attrs({
`;

const DetailsWrapper = styled.div.attrs({
className: 'flex items-center justify-between flex gap-x-6',
className:
'flex sm:items-center justify-start items-start sm:justify-between flex-col gap-y-4 sm:flex-row sm:gap-x-6',
})``;

const NetworkDetailsContainer = styled.div.attrs({
Expand Down
2 changes: 1 addition & 1 deletion src/@aragon/ods-old/components/link/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(
{...props}
data-testid="link"
>
<div className="flex items-center">
<div className="flex items-center gap-x-2">
<Label>{label}</Label>
{iconRight && <Icon icon={iconRight} size="sm" />}
</div>
Expand Down

0 comments on commit 2dcf1d6

Please sign in to comment.