mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Merge pull request #1544 from theMosaad/fix-scroll-flicker
Fix scroll flickering caused by content-visibility: auto
This commit is contained in:
commit
ec20a43911
1 changed files with 1 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ export default function Person({ person }) {
|
|||
const img = `https://images.weserv.nl/?url=${unavatar}&w=100&l=9&af&il&n=-1`;
|
||||
const { tag: currentTag } = useParams();
|
||||
return (
|
||||
<div className="PersonWrapper" style={{ contentVisibility: "auto" }}>
|
||||
<div className="PersonWrapper" style={{ contentVisibility: "auto", containIntrinsicHeight: '560px' }}>
|
||||
<div className="PersonInner">
|
||||
<header>
|
||||
<img
|
||||
|
|
@ -104,4 +104,3 @@ Person.propTypes = {
|
|||
},
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue