Skip to content

Commit 3c01916

Browse files
committed
fix paper card display in mobile
Signed-off-by: catcodeme <1020082805@qq.com>
1 parent 8bc6076 commit 3c01916

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

packages/pure/components/pages/Paper.astro

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -293,21 +293,10 @@ const starCount = data.star ? Math.min(Math.max(data.star, 0), 5) : 0
293293
.top-right-rating {
294294
display: none !important;
295295
}
296-
}
297-
298-
@media (max-width: 640px) {
296+
297+
/* 强制隐藏倾斜卡片 */
299298
.paper-card-icon-preview {
300-
right: 0.3rem;
301-
bottom: 0.3rem;
302-
width: 4.2rem;
303-
height: 2.8rem;
304-
}
305-
.paper-preview_container {
306-
padding: 0.1rem 0.2rem 0.2rem 0.2rem;
307-
}
308-
.paper-icon {
309-
width: 1.5rem;
310-
height: 1.5rem;
299+
display: none !important;
311300
}
312301
}
313302
</style>

0 commit comments

Comments
 (0)