Skip to content

Commit

Permalink
chore: place the SDK selector at the left side
Browse files Browse the repository at this point in the history
  • Loading branch information
vandreleal committed Jun 29, 2023
1 parent 5c4b8fc commit c63397c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ if (navbarSDKItems.length > 1) {
items: navbarSDKItems,
label,
className: "navbar__link__custom-dropdown--sdks",
position: "right",
position: "left",
})
}

Expand Down
2 changes: 1 addition & 1 deletion src/theme/SearchBar/DocSearchModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function DocSearchModal({
createAutocomplete({
id: "search",
defaultActiveItemId: 0,
placeholder: "Search",
placeholder: "Search Docs",
onStateChange({ state, setCollections }) {
if (!state.query && state.collections.length > 0) {
return setCollections([])
Expand Down
2 changes: 1 addition & 1 deletion src/theme/SearchBar/SearchBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function SearchBoxComponent(props) {

<input
className="DocSearch-Input"
placeholder="Search"
placeholder="Search Docs"
type="search"
{...props.getInputProps({
inputElement: props.inputRef.current,
Expand Down
2 changes: 1 addition & 1 deletion src/theme/SearchBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function DocSearch({ contextualSearch, ...props }) {

const translatedSearchLabel = translate({
id: "theme.SearchBar.label",
message: "Search",
message: "Search Docs",
description: "The ARIA label and placeholder for search button",
})

Expand Down

0 comments on commit c63397c

Please sign in to comment.