Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ymj07168 committed Oct 24, 2024
2 parents 7b10ba8 + 22a266e commit d46f091
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
17 changes: 3 additions & 14 deletions src/assets/Arrow down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 2 additions & 8 deletions src/components/EditorPage/Dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,8 @@ const Dropdown = ({ name = null, value, options, placeholder, onChange }) => {
</option>
))}
</select>
<div className="absolute inset-y-0 flex items-center px-2 pointer-events-none right-1">
<ReactSVG
src={Arrowdown}
beforeInjection={(svg) => {
svg.classList.add("text-gray-700");
svg.setAttribute("style", "fill: currentColor");
}}
/>
<div className="absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none">
<ReactSVG src={Arrowdown} />
</div>
</div>
);
Expand Down

0 comments on commit d46f091

Please sign in to comment.