Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sixty-files-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@devup-ui/wasm": patch
---

Fix webkit-line-clamp issue
7 changes: 6 additions & 1 deletion apps/landing/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ export default function HomePage() {
<VStack alignItems="center" gap="50px" maxW="800px" mx="auto">
<VStack alignItems="center" gap="24px">
<Image h="50px" src="/icon.svg" w="52px" />
<Text color="$title" textAlign="center" typography="h1">
<Text
WebkitLineClamp={2}
color="$title"
textAlign="center"
typography="h1"
>
Zero Config, Zero FOUC, Zero Runtime, CSS in JS Preprocessor
</Text>
<Text color="$text" textAlign="center" typography="h6Reg">
Expand Down
2 changes: 1 addition & 1 deletion libs/extractor/src/extract_style/constant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ pub(super) static MAINTAIN_VALUE_PROPERTIES: phf::Set<&str> = phf_set! {
"animation-iteration-count",
"tab-size",
"moz-tab-size",
"webkit-line-clamp"
"-webkit-line-clamp"
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ToBTreeSet {
Static(
ExtractStaticStyle {
property: "-webkit-line-clamp",
value: "16px",
value: "4",
level: 0,
selector: None,
style_order: None,
Expand Down