Skip to content

Commit

Permalink
chore: 调整容器高度
Browse files Browse the repository at this point in the history
auto docs 时,更合理
  • Loading branch information
xyy94813 committed Nov 28, 2023
1 parent c458eee commit 0e8c479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storybook-decorators/withAMapContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Story } from '@storybook/react';
// eslint-disable-next-line import/no-extraneous-dependencies
import { useInView } from 'react-intersection-observer';

const CONTAINER_STYLE = { height: 'calc(100vh - 70px)' };
const CONTAINER_STYLE = { height: '35vw' };

const AMapContainer: FC = ({ children }) => {
const { ref, inView } = useInView({
Expand Down

0 comments on commit 0e8c479

Please sign in to comment.