Skip to content

Commit 5d0242b

Browse files
committed
fix(blog-list): refine blog page presentation
1 parent a08726f commit 5d0242b

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/blog-back-button/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ export function BlogBackButton({
6363
const Link = LinkComp ?? ALink;
6464

6565
return (
66-
<div className={getClassName(styles.blogBackButton, className)}>
66+
<div
67+
className={getClassName(styles.blogBackButton, 'rp-not-doc', className)}
68+
>
6769
<Link href={blogIndexPath} className={styles.link}>
6870
{getLabel(lang)}
6971
</Link>

src/blog-list/index.module.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
flex-direction: column;
4646
border-radius: 24px;
4747
background: var(--rs-blog-list-card-bg);
48+
backdrop-filter: blur(1px);
4849
border: var(--rs-blog-list-card-border) !important;
4950
overflow: hidden;
5051
text-decoration: none !important;
@@ -135,7 +136,7 @@
135136

136137
.clampedDescription {
137138
display: -webkit-box;
138-
-webkit-line-clamp: 3;
139+
-webkit-line-clamp: 6;
139140
-webkit-box-orient: vertical;
140141
overflow: hidden;
141142
}

src/blog-list/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export function BlogList({
284284
});
285285

286286
return (
287-
<div className={getClassName(styles.blogPage, className)}>
287+
<div className={getClassName(styles.blogPage, 'rp-not-doc', className)}>
288288
{title || subtitle ? (
289289
<header className={styles.header}>
290290
{title ? <h1 className={styles.pageTitle}>{title}</h1> : null}

0 commit comments

Comments
 (0)