Skip to content

Commit 1f9d515

Browse files
committed
style : 사이드바 레이아웃 개선
1 parent 7994602 commit 1f9d515

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/layout/sidebar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@ const SidebarContent = styled.div`
2424
display: flex;
2525
flex-direction: column;
2626
gap: ${({ theme }) => theme.spacing.md};
27-
padding: ${({ theme }) => theme.spacing.lg} 0;
27+
padding: ${({ theme }) => theme.spacing.md} 0;
2828
`;
2929

3030
const LogoSection = styled.div`
3131
display: flex;
3232
align-items: center;
33-
gap: ${({ theme }) => `${theme.spacing.xs} -${theme.spacing.md}`};
34-
padding: ${({ theme }) => `0 ${theme.spacing.md}`};
33+
padding: ${({ theme }) => `0 ${theme.spacing.sm}`};
3534
cursor: pointer;
3635
&:hover {
3736
opacity: 0.8;
@@ -189,8 +188,9 @@ const HistoryItemExpanded = styled.div<{ isVisible: boolean }>`
189188
const Divider = styled.div`
190189
width: calc(100% - ${({ theme }) => theme.spacing.xl});
191190
height: 2px;
191+
align-self: center;
192192
background-color: ${({ theme }) => theme.colors.border};
193-
margin: ${({ theme }) => theme.spacing.sm} auto;
193+
margin: 0 ${({ theme }) => theme.spacing.md};
194194
`;
195195

196196
interface SidebarProps {

0 commit comments

Comments
 (0)