Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(dashboard): replace the removed float option with mode
Elian Doran9d4c68298774
diff --git a/apps/client/src/widgets/collections/dashboard/index.tsx b/apps/client/src/widgets/collections/dashboard/index.tsxindex f737bc50ba..f4376fd27c 100644--- a/apps/client/src/widgets/collections/dashboard/index.tsx+++ b/apps/client/src/widgets/collections/dashboard/index.tsx@@ -200,7 +200,7 @@ function useDashboardGrid({ note, notes, viewConfig, saveConfig, containerRef, gcolumn: GRID_COLUMNS,cellHeight: CELL_HEIGHT,margin: GRID_MARGIN,- float: true,+ mode: "float",handle: ".dashboard-widget-header",columnOpts: {// Collapse to a vertical stack when the dashboard itself gets narrow,