forked from Gitlink/forgeplus-react
parent
f34f7613d7
commit
e61c9e1a99
|
|
@ -214,8 +214,10 @@ function News(props) {
|
|||
<div style={{
|
||||
overflow: 'hidden',
|
||||
height: '593px',
|
||||
WebkitMaskImage: 'linear-gradient(to bottom, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%)',
|
||||
maskImage: 'linear-gradient(to bottom, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%)'
|
||||
...(hasAppended ? {
|
||||
WebkitMaskImage: 'linear-gradient(to bottom, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%)',
|
||||
maskImage: 'linear-gradient(to bottom, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%)'
|
||||
} : {})
|
||||
}}>
|
||||
<div className='topBox' ref={topBoxRef}>
|
||||
{docListBySecondDir.map((item, index)=>{
|
||||
|
|
|
|||
Loading…
Reference in New Issue