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
20 changes: 19 additions & 1 deletion website/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,26 @@
/* ── Tables ─────────────────────────────────────────────────────────── */

.vp-doc table {
display: block;
/* Keep VitePress's horizontal scroll for wide tables; `overflow: hidden`
here would clip columns that don't fit the content column instead. */
overflow-x: auto;
Comment on lines +168 to +171

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

With overflow-x: auto now enabled to allow horizontal scrolling on wide tables, the horizontal scrollbar will become visible. However, the custom scrollbar styles defined at the bottom of this file (lines 200-207) only specify width: 6px; for ::-webkit-scrollbar.

In WebKit/Blink browsers, width only controls the vertical scrollbar thickness, while height controls the horizontal scrollbar thickness. Without specifying height: 6px;, the horizontal scrollbar on wide tables will render with the browser's default thick height, causing a visual inconsistency with the customized thin vertical scrollbars.

To fix this, please update the scrollbar rule at the bottom of the file as follows:

:::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

border-radius: 8px;
overflow: hidden;
}

/* Slightly denser cells so comparison tables fit the content column without a
horizontal scrollbar (VitePress default is 8px 16px). */
.vp-doc td,
.vp-doc th {
padding: 8px 12px;
}

/* Break only inline-code tokens that genuinely can't fit their column (long
description strings), while leaving natural column sizing intact so short
identifiers like `palace_path` stay on one line. `overflow-x: auto` above is
the safety net for any table still wider than the content column. */
.vp-doc td code {
overflow-wrap: break-word;
}

.vp-doc th {
Expand Down
14 changes: 7 additions & 7 deletions website/guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ pluggable backend contract, exercised across deliberately different substrates
store) so the contract is never accidentally shaped around one vendor. Every
non-default backend is opt-in.

| Backend | Mode | Install | Namespace isolation | Lexical search | Configure with |
| ------- | ---- | ------- | :-----------------: | :------------: | -------------- |
| `chroma` _(default)_ | Local (embedded) | bundled | – | ✓ | `palace_path` |
| `sqlite_exact` | Local (exact cosine) | bundled | – | ✓ | `palace_path` |
| `qdrant` | Server (REST) | bundled | ✓ | ✓ | `MEMPALACE_QDRANT_URL` |
| `pgvector` | Server (Postgres) | `mempalace[pgvector]` | ✓ | ✓ | `MEMPALACE_PGVECTOR_DSN` |
<!-- New backends add one row here and one `### <Backend>` subsection below; keep README's compatibility table in sync. -->
| Backend | Mode | Install | Namespaces | Lexical |
| ------- | ---- | ------- | :--------: | :-----: |
| `chroma` _(default)_ | Local (embedded) | bundled | – | ✓ |
| `sqlite_exact` | Local (exact) | bundled | – | ✓ |
| `qdrant` | Server (REST) | bundled | ✓ | ✓ |
| `pgvector` | Server (Postgres) | `mempalace[pgvector]` | ✓ | ✓ |
<!-- New backends add one row here and one `### <Backend>` subsection (with its connection variables) below; keep README's compatibility table in sync. -->

Select a backend with `--backend <name>` on any `mempalace` / `mempalace-mcp`
command, `MEMPALACE_BACKEND=<name>` in the environment, or `"backend": "<name>"`
Expand Down
Loading