This commit is contained in:
parent
9158edaa45
commit
51229b80c2
|
|
@ -103,21 +103,16 @@ export const Card: React.FC<ArticleData> = (articleData) => {
|
|||
position: 'absolute',
|
||||
bottom: '8px',
|
||||
right: '8px',
|
||||
width: '24px',
|
||||
height: '24px',
|
||||
backgroundColor: 'red',
|
||||
borderRadius: '50%',
|
||||
color: 'white',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
color: 'red', // 只保留文字颜色为红色
|
||||
fontWeight: 'bold',
|
||||
fontSize: '16px',
|
||||
fontSize: '24px', // 字体稍微大一点,更容易看到
|
||||
zIndex: 2,
|
||||
}}>
|
||||
!
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
</div>
|
||||
</figure>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue