mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 06:34:25 +01:00
fix(breadcrumb): overflow hides more items than threshold
This commit is contained in:
parent
1ac7db41d3
commit
00592025c0
@ -32,7 +32,7 @@ import { ParentComponent } from "../react/react_utils";
|
|||||||
|
|
||||||
const COLLAPSE_THRESHOLD = 5;
|
const COLLAPSE_THRESHOLD = 5;
|
||||||
const INITIAL_ITEMS = 2;
|
const INITIAL_ITEMS = 2;
|
||||||
const FINAL_ITEMS = 2;
|
const FINAL_ITEMS = 3;
|
||||||
|
|
||||||
export default function Breadcrumb() {
|
export default function Breadcrumb() {
|
||||||
const { note, notePath, notePaths, noteContext } = useNotePaths();
|
const { note, notePath, notePaths, noteContext } = useNotePaths();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user