Skip to content

Commit

Permalink
fix-fe: 대시보드 사이드 바 공고 정렬 수정 (#410)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kim Da Eun <[email protected]>
  • Loading branch information
github-actions[bot] and llqqssttyy authored Aug 13, 2024
1 parent fbe68a8 commit e685bb8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/common/Accordion/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const List = styled.ul`
display: flex;
flex-direction: column;
gap: 0.4rem;
padding: 0 0 0 0.8rem;
padding: 0 0.8rem;
`;

const ListItem = styled.li`
Expand Down
10 changes: 9 additions & 1 deletion frontend/src/components/dashboard/DashboardSidebar/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,21 @@ const Contents = styled.nav`
gap: 1.4rem;
`;

const LinkContainer = styled.button<{ isSelected: boolean }>`
const LinkContainer = styled.div<{ isSelected: boolean }>`
${({ theme }) => theme.typography.common.block}
color: ${({ theme, isSelected }) => (isSelected ? theme.colors.brand.primary : theme.colors.text.default)};
margin-bottom: 0;
display: flex;
align-items: flex-start;
& > button > a {
text-align: start;
}
&::before {
content: '•';
display: block;
width: 1rem;
aspect-ratio: 1/1;
margin: 0 0.8rem;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/mocks/dashboardList.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dashboards": [
{
"dashboardId": "1",
"title": "프론트엔드 7기 모집",
"title": "우아한테크코스 프론트엔드 크루 모집",
"stats": {
"accept": 3,
"fail": 3,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/mocks/processMockData.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "프론트엔드 7기 모집",
"title": "우아한테크코스 프론트엔드 크루 모집",
"postUrl": "https://www.cruru.kr/post/1",
"processes": [
{
Expand Down

0 comments on commit e685bb8

Please sign in to comment.