Skip to content
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

Make advanced search options more discoverable #3510

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion translate/src/modules/search/components/SearchBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
font-size: 14px;
font-weight: 300;
line-height: 23px;
padding: 5px 33px 5px 37px;
padding: 5px 36px 5px 37px;
width: 100%;
}

Expand Down
7 changes: 6 additions & 1 deletion translate/src/modules/search/components/SearchPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@

.fas {
font-size: 17px;
margin-left: 10px;
margin-left: 1px;
margin-top: 9px;
}

.fa-caret-down {
font-size: 13px;
transform: translate(35%, -25%);
}
}

& .menu {
Expand Down
5 changes: 4 additions & 1 deletion translate/src/modules/search/components/SearchPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ export function SearchPanel({
return (
<div className='search-panel'>
<div className='visibility-switch' onClick={toggleVisible}>
<span className='fas fa-search'></span>
<span className='fa-stack'>
<i className='fas fa-search fa-stack-2x'></i>
<i className='fas fa-caret-down fa-stack-1x'></i>
</span>
</div>
{visible ? (
<SearchPanelDialog
Expand Down
Loading