Skip to content

Commit 746dac9

Browse files
committed
[IMP] composer: prettify formula when content is too long.
Prettify formula depending on the composer width and the content width, for consistency, change the formula font to monospace font task: 4735172
1 parent 243f13f commit 746dac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/composer/composer/prettifier_content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function join(rules: PrettifyRule[]): Concat {
3333
return { type: "concat", rules };
3434
}
3535

36-
/** Useful for indicating where to unify multiple rules into a single line depending on the available space.*/
36+
/** Useful for indicating where to print a rule into a single line depending on the available space.*/
3737
function group(x: PrettifyRule): ChooseBetween {
3838
return chooseBetween(flatten(x), x);
3939
}

0 commit comments

Comments
 (0)