Skip to content

Commit 2a432c6

Browse files
committed
Revert length yaml definition
1 parent 0fb5a01 commit 2a432c6

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/apps/weblib/typeschema-api/styles.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
---
22
definitions:
3-
LengthUnit:
3+
Length:
44
description: |
5-
LengthUnit can be set in pixels or in percentage of the element or the element's
5+
Length can be set in pixels or in percentage of the element or the element's
66
font size. Pixel is the default unit.
77
oneOf:
88
- { type: string, mask: /:number:px/ }
99
- { type: string, mask: /:number:%/ }
1010
- { type: string, mask: /:number:em/ }
1111
- type: number
12-
Length:
13-
description: |
14-
Length can be LengthUnit or addition of LengthUnits.
15-
oneOf:
16-
- { type: string, mask: /:LengthUnit:/ }
17-
- { type: string, mask: '/:LengthUnit:+:LengthUnit:/' }
18-
- { type: string, mask: '/:LengthUnit:+:LengthUnit:+:LengthUnit:/' }
1912

2013
Angle:
2114
description: |

0 commit comments

Comments
 (0)