Skip to content

Commit 87281b2

Browse files
Layout: Fixed biome issues and modified start location
1 parent 304e3ff commit 87281b2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

assets/css/v2/style.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

assets/js/sidebar-v2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ document.addEventListener('DOMContentLoaded', () => {
4343
(el) => el.href.includes(currentPage)
4444
);
4545

46-
if (match) match.scrollIntoView({ behavior: 'instant', block: 'nearest' });
46+
if (match) match.scrollIntoView({ behavior: 'instant', block: 'start' });
4747
});
4848

4949
const debounce = (callback, wait) => {

0 commit comments

Comments
 (0)