-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] MVP 익스텐션 패키지 기능 구현 #14
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 ~!
export const SearchWindowHeader = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
position: relative; | ||
|
||
margin-bottom: 16px; | ||
|
||
.term-header { | ||
display: flex; | ||
align-items: center; | ||
width: 100%; | ||
|
||
img { | ||
width: 22px; | ||
height: 22px; | ||
margin-right: 6px; | ||
transform: translateY(-2px); | ||
} | ||
|
||
p { | ||
font-size: 14px; | ||
font-weight: 700; | ||
line-height: 1.2; | ||
|
||
&.query { | ||
display: block; | ||
max-width: 50%; | ||
|
||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
} | ||
|
||
&.tail { | ||
margin-left: 3px; | ||
} | ||
} | ||
} | ||
|
||
button { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
} | ||
` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SearchWindowHeader.styles.tsx이 별도로 파일로 있는데, 일부로 중복으로 둔건가용?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 앗 컴포넌트 분리 이후에 스타일 제거하는걸 까먹고 있었네요 수정하겠습니다!
- 지금 UI 라이브러리를 번들링해서 익스텐션에도 사용할 수 있을지 확인해보고 있어서 해당 경우는 일단 놔두셔도 괜찮을 것 같습니다!
PR Type
Overview
chrome-extension
에서extension
으로 변경Additional Comment
기존에
vite
+crx
를 통해 개발하다가 크로스 브라우징을 지원하는plasmo
프레임워크로 변경하였습니다.단점으로는
vanilla extract
의 번들 패키지를 적용할 방법을 아직 못찾아서plasmo
공식문서에서 추천하는emotion cache
를 사용하였습니다.Issue
Check List
References