Skip to content

Commit

Permalink
Fixed design
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasbordeau committed Jun 21, 2024
1 parent d47ee5d commit f1e0428
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ const StyledContainer = styled.div`
border: 1px solid transparent;
display: flex;
justify-content: space-between;
height: ${({ theme }) => theme.spacing(7)};
padding: 0 ${({ theme }) => theme.spacing(2)};
height: ${({ theme }) => theme.spacing(5)};
padding: calc(${({ theme }) => theme.spacing(1)} - 1px);
width: 100%;
gap: ${({ theme }) => theme.spacing(1)};
&:hover {
background-color: ${({ theme }) => theme.background.transparent.lighter};
border: 1px solid ${({ theme }) => theme.border.color.medium};
Expand All @@ -46,7 +48,6 @@ const StyledContainer = styled.div`
const StyledLabel = styled.div`
align-items: center;
display: flex;
gap: ${({ theme }) => theme.spacing(2)};
`;

const StyledIconChevronDown = styled(IconChevronDown)<{ disabled?: boolean }>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const StyledCollapseButton = styled.div`
color: ${({ theme }) => theme.font.color.light};
cursor: pointer;
display: flex;
height: ${({ theme }) => theme.spacing(6)};
height: ${({ theme }) => theme.spacing(5)};
justify-content: center;
user-select: none;
width: ${({ theme }) => theme.spacing(6)};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ import { NavigationDrawerCollapseButton } from './NavigationDrawerCollapseButton
const StyledContainer = styled.div`
align-items: center;
display: flex;
gap: ${({ theme }) => theme.spacing(2)};
height: ${({ theme }) => theme.spacing(7)};
padding: ${({ theme }) => theme.spacing(1)};
user-select: none;
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const StyledItem = styled('div', {
align-items: center;
background: ${(props) =>
props.active ? props.theme.background.transparent.light : 'inherit'};
height: ${({ theme }) => theme.spacing(7)};
height: ${({ theme }) => theme.spacing(5)};
border: none;
border-radius: ${({ theme }) => theme.border.radius.sm};
text-decoration: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const StyledTitle = styled.div<{ onClick?: () => void }>`
display: flex;
font-size: ${({ theme }) => theme.font.size.xs};
font-weight: ${({ theme }) => theme.font.weight.semiBold};
height: ${({ theme }) => theme.spacing(7)};
height: ${({ theme }) => theme.spacing(5)};
padding: ${({ theme }) => theme.spacing(1)};
${({ onClick, theme }) =>
Expand Down

0 comments on commit f1e0428

Please sign in to comment.