Skip to content

Commit 93f182c

Browse files
committed
Fix line clamp issue
1 parent 6e5cffe commit 93f182c

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.changeset/sixty-files-swim.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@devup-ui/wasm": patch
3+
---
4+
5+
Fix webkit-line-clamp issue

apps/landing/src/app/page.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ export default function HomePage() {
8484
<VStack alignItems="center" gap="50px" maxW="800px" mx="auto">
8585
<VStack alignItems="center" gap="24px">
8686
<Image h="50px" src="/icon.svg" w="52px" />
87-
<Text color="$title" textAlign="center" typography="h1">
87+
<Text
88+
WebkitLineClamp={2}
89+
color="$title"
90+
textAlign="center"
91+
typography="h1"
92+
>
8893
Zero Config, Zero FOUC, Zero Runtime, CSS in JS Preprocessor
8994
</Text>
9095
<Text color="$text" textAlign="center" typography="h6Reg">

libs/extractor/src/extract_style/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ pub(super) static MAINTAIN_VALUE_PROPERTIES: phf::Set<&str> = phf_set! {
2121
"animation-iteration-count",
2222
"tab-size",
2323
"moz-tab-size",
24-
"webkit-line-clamp"
24+
"-webkit-line-clamp"
2525
};

0 commit comments

Comments
 (0)