Jacky Zhao
2025-03-13 b579950ae550df8551bf087e8f017a41b36a726e
fix(og): adjust line clamp
1 files modified
4 ■■■ changed files
quartz/util/og.tsx 4 ●●● patch | view | raw | blame | history
quartz/util/og.tsx
@@ -266,6 +266,7 @@
            WebkitBoxOrient: "vertical",
            WebkitLineClamp: 2,
            overflow: "hidden",
            textOverflow: "ellipsis",
          }}
        >
          {title}
@@ -287,8 +288,9 @@
            margin: 0,
            display: "-webkit-box",
            WebkitBoxOrient: "vertical",
            WebkitLineClamp: 4,
            WebkitLineClamp: 5,
            overflow: "hidden",
            textOverflow: "ellipsis",
          }}
        >
          {description}