File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -134,9 +134,14 @@ textarea:not([rows]) {
134134 /* More info: https://docs.coveo.com/en/atomic/latest/usage/themes-and-visual-customization/ */
135135
136136 /* biome-ignore lint: Coveo override */
137- --atomic-primary : oklch (var (--color-brand )) !important ; /* Adjust the primary color */
137+ --atomic-primary : oklch (
138+ var (--color-brand )
139+ ) !important ; /* Adjust the primary color */
138140 /* biome-ignore lint: necessary override */
139- --atomic-ring-primary : oklch (var (--color-brand ) / 0.4 ) !important ; /* Adjust the focus color */
141+ --atomic-ring-primary : oklch (
142+ var (--color-brand ) /
143+ 0.4
144+ ) !important ; /* Adjust the focus color */
140145 /* biome-ignore lint: necessary override */
141146 --atomic-primary-light : oklch (var (--color-brand )) !important ;
142147 --atomic-background : oklch (0.9911 0 0 ) !important ;
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ document.addEventListener('click', (e) => {
3838} ) ;
3939
4040document . addEventListener ( 'DOMContentLoaded' , ( ) => {
41- const currentPage = window . location . href ;
42- const match = Array . from ( document . querySelectorAll ( ".sidebar__link" ) )
43- . find ( el => el . href . includes ( currentPage ) ) ;
41+ const currentPage = window . location . href ;
42+ const match = Array . from ( document . querySelectorAll ( '.sidebar__link' ) ) . find (
43+ ( el ) => el . href . includes ( currentPage )
44+ ) ;
4445
45- if ( match )
46- match . scrollIntoView ( { behavior : "instant" , block : "nearest" } ) ;
46+ if ( match ) match . scrollIntoView ( { behavior : 'instant' , block : 'nearest' } ) ;
4747} ) ;
4848
4949const debounce = ( callback , wait ) => {
@@ -60,7 +60,6 @@ window.addEventListener(
6060 'resize' ,
6161 debounce ( ( ) => {
6262 const sidebar = document . getElementById ( 'sidebar-v2' ) ;
63- console . log ( "This is a test log" )
6463 if (
6564 window . innerWidth > 88 * 16 &&
6665 sidebar . classList . contains ( 'sidebar__mobile-open' )
@@ -69,5 +68,3 @@ window.addEventListener(
6968 }
7069 } , 200 )
7170) ;
72-
73-
You can’t perform that action at this time.
0 commit comments