Skip to content

Commit 202114b

Browse files
committed
Add webkit lineclamp
1 parent 48a67da commit 202114b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

libs/extractor/src/snapshots/extractor__tests__maintain_value.snap

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
source: libs/extractor/src/lib.rs
3-
expression: "ToBTreeSet::from(extract(\"test.jsx\",\nr#\"import {Flex} from '@devup-ui/core'\n <Flex opacity={1} zIndex={2} fontWeight={900} scale={2} flex={1} lineHeight={1} tabSize={4} MozTabSize={4} />\n \"#,\nExtractOption\n{ package: \"@devup-ui/core\".to_string(), css_file: None }).unwrap())"
3+
expression: "ToBTreeSet::from(extract(\"test.jsx\",\nr#\"import {Flex} from '@devup-ui/core'\n <Flex opacity={1} zIndex={2} fontWeight={900} scale={2} flex={1} lineHeight={1} tabSize={4} MozTabSize={4} WebkitLineClamp={4} />\n \"#,\nExtractOption\n{ package: \"@devup-ui/core\".to_string(), css_file: None }).unwrap())"
44
---
55
ToBTreeSet {
66
styles: {
@@ -13,6 +13,15 @@ ToBTreeSet {
1313
style_order: None,
1414
},
1515
),
16+
Static(
17+
ExtractStaticStyle {
18+
property: "-webkit-line-clamp",
19+
value: "16px",
20+
level: 0,
21+
selector: None,
22+
style_order: None,
23+
},
24+
),
1625
Static(
1726
ExtractStaticStyle {
1827
property: "display",
@@ -88,5 +97,5 @@ ToBTreeSet {
8897
},
8998
),
9099
},
91-
code: "import \"@devup-ui/core/devup-ui.css\";\n<div className=\"a b c d e f g h i\" />;\n",
100+
code: "import \"@devup-ui/core/devup-ui.css\";\n<div className=\"a b c d e f g h i j\" />;\n",
92101
}

0 commit comments

Comments
 (0)