Skip to content

Commit

Permalink
fix: 폰트 하얀색으로 보이는 이슈 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
limkhl committed Apr 2, 2024
1 parent 4c633a0 commit 21809d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/Ask/FindByName.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const FindByName = ({onSubmit}) => {

return (
<div className="wrapper">
<input placeholder="이름으로 검색" value={q} onChange={e => setQ(e.target.value)} onKeyDown={handleKeyPress} />
<input className="name-search" placeholder="이름으로 검색" value={q} onChange={e => setQ(e.target.value)} onKeyDown={handleKeyPress} />
<button disabled={q.length < 1} onClick={e => onSubmit && onSubmit(q)}>검색</button>
</div>
)
Expand Down
13 changes: 2 additions & 11 deletions src/components/Ask/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.ask {
--font-color: #BA44AE;
font-size: medium;
width: 100%;
max-width: 600px;
Expand Down Expand Up @@ -38,11 +39,6 @@
}

.wrapperParty {
div, div[class*="menu"] {
border: none;
color: #BA44AE !important;
}

input {
caret-color: black;
color: black;
Expand All @@ -51,12 +47,7 @@
}

.wrapper {
div, div[class*="menu"] {
border: none;
color: #BA44AE !important;
}

input {
.name-search {
border-radius: 4px;
border: none;
padding: 11px 14px;
Expand Down
2 changes: 2 additions & 0 deletions src/components/Ask/tabstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,7 @@
}
.react-tabs__tab-panel--selected {
display: block;
color: var(--font-color);
border: none
}

0 comments on commit 21809d7

Please sign in to comment.