mirror of
				https://github.com/checktheroads/hyperglass
				synced 2024-05-11 05:55:08 +00:00 
			
		
		
		
	upgrade react-flow & fix rendering of AS graph
This commit is contained in:
		@@ -19,7 +19,7 @@ export const Chart: React.FC<TChart> = (props: TChart) => {
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <ReactFlowProvider>
 | 
			
		||||
      <Box boxSize="100%" zIndex={1}>
 | 
			
		||||
      <Box w="100%" h={{ base: '100vh', lg: '70vh' }} zIndex={1}>
 | 
			
		||||
        <ReactFlow
 | 
			
		||||
          snapToGrid
 | 
			
		||||
          elements={elements}
 | 
			
		||||
 
 | 
			
		||||
@@ -31,7 +31,7 @@ export const Path: React.FC<TPath> = (props: TPath) => {
 | 
			
		||||
        <ModalOverlay />
 | 
			
		||||
        <ModalContent
 | 
			
		||||
          bg={bg}
 | 
			
		||||
          mt={{ base: 4, lg: '' }}
 | 
			
		||||
          minH={{ lg: '80vh' }}
 | 
			
		||||
          maxH={{ base: '80%', lg: '60%' }}
 | 
			
		||||
          maxW={{ base: '100%', lg: '80%' }}
 | 
			
		||||
        >
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user