事件中心UI优化
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
import React from 'react';
|
||||
import {
|
||||
SimpleGrid,
|
||||
VStack,
|
||||
} from '@chakra-ui/react';
|
||||
import StockListItem from './StockListItem';
|
||||
|
||||
@@ -29,7 +29,7 @@ const RelatedStocksSection = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<SimpleGrid columns={{ base: 1, md: 2, lg: 3 }} spacing={4}>
|
||||
<VStack align="stretch" spacing={3}>
|
||||
{stocks.map((stock, index) => (
|
||||
<StockListItem
|
||||
key={index}
|
||||
@@ -40,7 +40,7 @@ const RelatedStocksSection = ({
|
||||
onWatchlistToggle={onWatchlistToggle}
|
||||
/>
|
||||
))}
|
||||
</SimpleGrid>
|
||||
</VStack>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user