Skip to content

Commit f9b72fd

Browse files
author
hulinjiang
committed
修复 paper组件悬浮效果造成相邻元素抖动问题
1 parent 7134eb4 commit f9b72fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/pure/components/pages/Paper.astro‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ const starCount = data.star ? Math.min(Math.max(data.star, 0), 5) : 0
260260
right: 1.5rem;
261261
bottom: 0;
262262
z-index: 10;
263+
will-change: transform;
263264
transform: translateY(35%);
264265
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
265266
text-decoration: none;

0 commit comments

Comments
 (0)