Skip to content

Commit

Permalink
fix: Mobile-responsive Insight search
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Jan 27, 2022
1 parent d69b7a4 commit e0d71ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/search-page/search-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { Box, HStack, VStack } from '@chakra-ui/react';
import { Box, Stack, VStack } from '@chakra-ui/react';
import { useEffect, useRef } from 'react';
import { Helmet } from 'react-helmet';
import { useSelector } from 'react-redux';
Expand Down Expand Up @@ -98,7 +98,7 @@ export const SearchPage = () => {
<VStack spacing="1rem" align="stretch">
<SearchBar />

<HStack spacing="1rem" align="stretch">
<Stack spacing="1rem" align="stretch" direction={{ base: 'column-reverse', md: 'row' }}>
<Box flexGrow={1}>
<InsightList
insightConnection={
Expand All @@ -124,9 +124,9 @@ export const SearchPage = () => {
padding="0.5rem"
flexBasis={{ base: '16rem', md: '20rem', xl: '22rem' }}
flexShrink={0}
maxWidth={{ base: '16rem', md: '20rem', xl: '26rem' }}
maxWidth={{ base: 'unset', md: '20rem', xl: '26rem' }}
/>
</HStack>
</Stack>
</VStack>
</VStack>
</>
Expand Down

0 comments on commit e0d71ca

Please sign in to comment.