fix(docs): Insert space between numbers and SI units
This commit is contained in:
parent
d0415b33a5
commit
7b8b6997d0
11 changed files with 24 additions and 24 deletions
|
@ -21,7 +21,7 @@ Point point.shift(float angle, float distance)
|
|||
points.A = new Point(90, 40)
|
||||
.setText("Point A", "right text-sm")
|
||||
points.B = points.A.shift(155, 70)
|
||||
.setText("Point B is point A shifted 7cm\nat a 155 degree angle", "text-sm")
|
||||
.setText("Point B is point A shifted 7 cm\nat a 155 degree angle", "text-sm")
|
||||
.attr("data-text-lineheight", 6)
|
||||
|
||||
macro("ld", {
|
||||
|
|
|
@ -20,7 +20,7 @@ Point point.shiftOutwards(Point target, float distance)
|
|||
points.A = new Point(90, 70).setText("Point A", "text-sm right")
|
||||
points.B = new Point(10, 10).setText("Point B", "text-sm")
|
||||
points.C = points.A.shiftOutwards(points.B, 30)
|
||||
.setText("Point C is point A shifted 3cm\nbeyond point B", "text-sm")
|
||||
.setText("Point C is point A shifted 3 cm\nbeyond point B", "text-sm")
|
||||
.attr("data-text-lineheight", 6)
|
||||
|
||||
paths.direction = new Path()
|
||||
|
|
|
@ -20,7 +20,7 @@ Point point.shiftTowards(Point target, float distance)
|
|||
points.A = new Point(90, 70).setText("Point A", "right text-sm")
|
||||
points.B = new Point(10, 10).setText("Point B", "text-sm")
|
||||
points.C = points.A.shiftTowards(points.B, 35)
|
||||
.setText("Point C is point A shifted 3.5cm\nin the direction of point B", "center, text-sm")
|
||||
.setText("Point C is point A shifted 3.5 cm\nin the direction of point B", "center, text-sm")
|
||||
.attr("data-text-lineheight", 6)
|
||||
|
||||
paths.direction = new Path()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue