File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ ol li:last-child {
435
435
-webkit-backdrop-filter : blur (20px );
436
436
position : sticky;
437
437
top : 0 ;
438
- z-index : 1 ;
438
+ z-index : 2 ;
439
439
440
440
.header-container {
441
441
display : flex;
@@ -950,6 +950,8 @@ main {
950
950
951
951
/* Search results on content */
952
952
atomic-search-interface # search-v2 {
953
+ position : relative;
954
+ z-index : 1 ;
953
955
display : inline-block !important ;
954
956
width : 95vw ;
955
957
grid-column : 1 / -1 ;
Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ async function getsearchObj() {
23
23
async function atomicCoveo ( ) {
24
24
/* Fetch the credentials */
25
25
await customElements . whenDefined ( 'atomic-search-interface' ) ;
26
- const token =
27
- 'eyJhbGciOiJIUzI1NiJ9.eyJzZWFyY2hIdWIiOiJIVUJfRVNfTmdpbnhfRG9jc19BbmRfT3JnIiwidjgiOnRydWUsInRva2VuSWQiOiJ1Ym1mejJpMzRvbmZ3c2FsaHBseHFvMmpjdSIsIm9yZ2FuaXphdGlvbiI6ImY1bmV0d29ya3Nwcm9kdWN0aW9uNXZraG4wMGgiLCJ1c2VySWRzIjpbeyJ0eXBlIjoiVXNlciIsIm5hbWUiOiJhbm9ueW1vdXMiLCJwcm92aWRlciI6IkVtYWlsIFNlY3VyaXR5IFByb3ZpZGVyIn1dLCJyb2xlcyI6WyJxdWVyeUV4ZWN1dG9yIl0sImlzcyI6IlNlYXJjaEFwaSIsImV4cCI6MTc1MzIyOTM0MCwiaWF0IjoxNzUzMTQyOTQwfQ.lsKbajGJBke_M3CzzFO8Vk6m61LpYE2gaBaFq1noqyI' ;
28
- const org_id = 'f5networksproduction5vkhn00h' ;
26
+ const token = localStorage . getItem ( 'coveo_jwt_v1' ) ;
27
+ const org_id = localStorage . getItem ( 'coveo_org_id_v1' ) ;
29
28
let searchObj = { token, org_id } ;
30
29
31
30
if ( token === null || org_id === null || isJwtExpired ( token ) ) {
You can’t perform that action at this time.
0 commit comments