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]) {
134
134
/* More info: https://docs.coveo.com/en/atomic/latest/usage/themes-and-visual-customization/ */
135
135
136
136
/* 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 */
138
140
/* 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 */
140
145
/* biome-ignore lint: necessary override */
141
146
--atomic-primary-light : oklch (var (--color-brand )) !important ;
142
147
--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) => {
38
38
} ) ;
39
39
40
40
document . 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
+ ) ;
44
45
45
- if ( match )
46
- match . scrollIntoView ( { behavior : "instant" , block : "nearest" } ) ;
46
+ if ( match ) match . scrollIntoView ( { behavior : 'instant' , block : 'nearest' } ) ;
47
47
} ) ;
48
48
49
49
const debounce = ( callback , wait ) => {
@@ -60,7 +60,6 @@ window.addEventListener(
60
60
'resize' ,
61
61
debounce ( ( ) => {
62
62
const sidebar = document . getElementById ( 'sidebar-v2' ) ;
63
- console . log ( "This is a test log" )
64
63
if (
65
64
window . innerWidth > 88 * 16 &&
66
65
sidebar . classList . contains ( 'sidebar__mobile-open' )
@@ -69,5 +68,3 @@ window.addEventListener(
69
68
}
70
69
} , 200 )
71
70
) ;
72
-
73
-
You can’t perform that action at this time.
0 commit comments