File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
components/home/projectCardLists/cardList Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,15 @@ export const TagWrapper = styled.div<{ $positionPadding?: boolean }>`
6767 z-index: 10;
6868` ;
6969
70+ export const SkillTagImgWrapper = styled . div `
71+ border: 1px solid ${ ( { theme } ) => theme . color . grey } ;
72+ border-radius: 50%;
73+ ` ;
74+
75+ export const SkillTagImg = styled . img `
76+ width: 2rem;
77+ ` ;
78+
7079export const EllipsisIconButton = styled . button `
7180 display: flex;
7281 justify-content: center;
Original file line number Diff line number Diff line change 11import PositionButton from '../../../common/positionButton/PositionButton' ;
2- import SkillTagImg from '../../../common/skillTagBox/skillTag/skillTagImg/SkillTagImg' ;
32import * as S from './CardList.styled' ;
43import beginner from '../../../../assets/beginner.svg' ;
54import Avatar from '../../../common/avatar/Avatar' ;
@@ -35,7 +34,9 @@ export default function CardList({ list }: CardListProps) {
3534 < S . TagsWrapper >
3635 { Boolean ( list . skillTags . length ) &&
3736 listSkillTag . map ( ( tag ) => (
38- < SkillTagImg image = { tag . img } key = { tag . id } skillTag = { tag . name } />
37+ < S . SkillTagImgWrapper key = { tag . id } >
38+ < S . SkillTagImg src = { tag . img } alt = { tag . name } />
39+ </ S . SkillTagImgWrapper >
3940 ) ) }
4041 { list . skillTags . length > listSkillTag . length && (
4142 < S . EllipsisIconButton > +{ othersSkill } </ S . EllipsisIconButton >
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import styled from 'styled-components';
22
33export const Container = styled . main `
44 width: 100%;
5+ min-width: 22.7rem;
56` ;
67
78export const Wrapper = styled . div `
You can’t perform that action at this time.
0 commit comments