Skip to content

Commit

Permalink
File: add style for search bar icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsofshiva committed Jan 8, 2025
1 parent c59827b commit a31271b
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ export function getCurrentRefinementCSS() {
.clear-refinements-button:hover:before {
transform: rotate(360deg);
}
.ais-SearchBox-resetIcon,
.ais-SearchBox-submitIcon path{
fill: var(--dbp-override-accent);
}
`;
}

Expand Down Expand Up @@ -158,18 +164,6 @@ export function getAlgoliaMinCSS() {
cursor: default;
}
.ais-SearchBox-resetIcon {
width: 12px;
height: 12px;
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}
.ais-SearchBox-resetIcon path {
fill: rgb(73, 85, 136);
}
`;
}

Expand Down

0 comments on commit a31271b

Please sign in to comment.