File tree Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { LanguagePicker } from "@redocly/theme/components/LanguagePicker/Languag
4
4
import { slugify } from "../../helpers" ;
5
5
import { Link } from "@redocly/theme/components/Link/Link" ;
6
6
import { ColorModeSwitcher } from "@redocly/theme/components/ColorModeSwitcher/ColorModeSwitcher" ;
7
- import { AlgoliaSearch } from "./AlgoliaSearch " ;
7
+ import { Search } from "@redocly/theme/components/Search/Search " ;
8
8
import arrowUpRight from "../../../static/img/icons/arrow-up-right-custom.svg" ;
9
9
10
10
// @ts -ignore
@@ -139,7 +139,7 @@ export function Navbar(props) {
139
139
< NavItems >
140
140
{ navItems }
141
141
< div id = "topnav-search" className = "nav-item search" >
142
- < AlgoliaSearch />
142
+ < Search className = "topnav-search" />
143
143
</ div >
144
144
< div id = "topnav-language" className = "nav-item" >
145
145
< LanguagePicker
Original file line number Diff line number Diff line change 14
14
"dependencies" : {
15
15
"@codemirror/state" : " 6.5.2" ,
16
16
"@codemirror/view" : " ^6.22.2" ,
17
- "@docsearch/react" : " ^3.8.0" ,
18
17
"@lezer/highlight" : " ^1.2.0" ,
19
18
"@redocly/realm" : " 0.120.2" ,
20
19
"@uiw/codemirror-themes" : " 4.21.21" ,
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ $banner-height: 52px; // Apex 2025 banner is 52px. 0 for no pencil banner.
144
144
}
145
145
146
146
#topnav-search {
147
+ flex-grow : 1 ;
147
148
.input-group {
148
149
flex-grow : 1 ;
149
150
flex-wrap : nowrap ; // Fix search bar splitting into two lines on iPhone 5
@@ -315,7 +316,7 @@ $banner-height: 52px; // Apex 2025 banner is 52px. 0 for no pencil banner.
315
316
316
317
@include media-breakpoint-up (xl) {
317
318
#topnav-search {
318
- margin-left : auto ;
319
+ margin-left : 3.5 rem ;
319
320
margin-right : 0.5rem ;
320
321
}
321
322
#topnav-language {
Original file line number Diff line number Diff line change @@ -1340,7 +1340,7 @@ main article .card-grid {
1340
1340
}
1341
1341
}
1342
1342
1343
- /* Search styles */
1343
+ /* Algolia Search styles
1344
1344
1345
1345
.algolia-autocomplete .ds-dropdown-menu::before {
1346
1346
background-color: $gray-100;
@@ -1352,3 +1352,4 @@ main article .card-grid {
1352
1352
.DocSearch-Modal {
1353
1353
box-shadow: $light-box-shadow;
1354
1354
}
1355
+ */
You can’t perform that action at this time.
0 commit comments