mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
fixed scrollbar showing in card components, too.
This commit is contained in:
parent
07b07c66c3
commit
ed40f39b36
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Box, Flex, Grid, Text, Avatar, Card } from 'theme-ui'
|
||||
import { Box, Flex, Text, Avatar, Card } from 'theme-ui'
|
||||
import Icon from '@hackclub/icons'
|
||||
import { useState } from 'react'
|
||||
|
||||
|
|
@ -22,10 +22,10 @@ export default function Bio({ popup = true, spanTwo = false, ...props }) {
|
|||
maxWidth: '600px',
|
||||
zIndex: !popup ? 1003 : 5,
|
||||
maxHeight: '90vh',
|
||||
overflowY: 'scroll',
|
||||
overflowY: 'hidden',
|
||||
overscrollBehavior: 'contain',
|
||||
gridColumn: !spanTwo ? null : [null, null, `1 / span 2`],
|
||||
position: 'relative'
|
||||
position: 'relative',
|
||||
}}
|
||||
as={href && !text ? 'a' : 'div'}
|
||||
href={href}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue