Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _site/customizations/inkeep-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
type: 'style',
value: '.ikp-view_toggle, .ikp-ai-ask-ai-trigger { display: none !important; }',
},
{
key: 'dark-search-overlay',
type: 'style',
value: '.dark\\:bg-overlay-dark { background-color: rgba(0, 0, 0, 0.75) !important; }',
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overlay override ignores dark scope

Medium Severity

The new Inkeep theme style targets .dark\:bg-overlay-dark without a .dark ancestor. Tailwind dark utilities usually stay on the element in light mode while only taking effect under .dark, so this unscoped !important rule can force a 75% black backdrop when opening search in light mode.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit dca2a16. Configure here.

],
},
},
Expand Down
4 changes: 2 additions & 2 deletions _site/customizations/navbar-cta.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
+ '#' + CTA_ID + ' .ch-gh-stars { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 0.15s; }'
+ '#' + CTA_ID + ' .ch-gh-stars svg { flex-shrink: 0; }'
// Get started button
+ '#' + CTA_ID + ' .ch-cta-btn { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.15s, color 0.15s; }'
+ '#' + CTA_ID + ' .ch-cta-btn { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 0.15s, color 0.15s; }'
// Light mode
+ '#' + CTA_ID + ' .ch-gh-stars { color: #374151; }'
+ '#' + CTA_ID + ' .ch-gh-stars:hover { color: #111; }'
Expand Down Expand Up @@ -66,7 +66,7 @@
ctaLink.href = 'https://clickhouse.cloud/signUp';
ctaLink.target = '_blank';
ctaLink.rel = 'noopener noreferrer';
ctaLink.textContent = 'Cloud console';
ctaLink.textContent = 'Get Started';
container.appendChild(ctaLink);

mapleNav.appendChild(container);
Expand Down