Update bio.js

This commit is contained in:
Sam Poder 2023-02-28 10:17:14 +08:00 committed by GitHub
parent f95b631448
commit f9d9ab8b4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,8 +23,8 @@ export default function Bio({ popup = true, ...props }) {
zIndex: !popup ? 1002 : 5,
maxHeight: '90vh',
overflowY: 'scroll',
overscrollBehavior: 'contain'
zIndex: popup ? 1003 : null,
overscrollBehavior: 'contain',
zIndex: popup ? 1003 : null
}}
as={href && !text ? 'a' : 'div'}
href={href}