mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 09:20:03 +02:00
change default useWidth
in pie to 984
This commit is contained in:
@@ -89,8 +89,8 @@ export type DrawDefinition = (
|
||||
*/
|
||||
export type ParseDirectiveDefinition = (statement: string, context: string, type: string) => void;
|
||||
|
||||
export type HTML = d3.Selection<HTMLIFrameElement, unknown, Element, unknown>;
|
||||
export type HTML = d3.Selection<HTMLIFrameElement, unknown, Element | null, unknown>;
|
||||
|
||||
export type SVG = d3.Selection<SVGSVGElement, unknown, Element, unknown>;
|
||||
export type SVG = d3.Selection<SVGSVGElement, unknown, Element | null, unknown>;
|
||||
|
||||
export type DiagramStylesProvider = (options?: any) => string;
|
||||
|
@@ -17,7 +17,7 @@ import type { RequiredDeep } from 'type-fest';
|
||||
|
||||
export const DEFAULT_PIE_CONFIG: Required<PieDiagramConfig> = {
|
||||
useMaxWidth: true,
|
||||
useWidth: 1200,
|
||||
useWidth: 984,
|
||||
textPosition: 0.75,
|
||||
} as const;
|
||||
|
||||
|
Reference in New Issue
Block a user