Update bio.js

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

View file

@ -24,6 +24,7 @@ export default function Bio({ popup = true, ...props }) {
maxHeight: '90vh',
overflowY: 'scroll',
overscrollBehavior: 'contain'
zIndex: popup ? 1003 : null,
}}
as={href && !text ? 'a' : 'div'}
href={href}
@ -130,7 +131,7 @@ export default function Bio({ popup = true, ...props }) {
<Flex
sx={{
position: 'fixed',
zIndex: 1002,
zIndex: 1001,
top: 0,
left: 0,
height: '100vh',
@ -146,7 +147,7 @@ export default function Bio({ popup = true, ...props }) {
<Flex
sx={{
position: 'fixed',
zIndex: 1001,
zIndex: 1002,
top: 0,
left: 0,
height: '100vh',