Skip to content

Commit

Permalink
Merge pull request #722 from oceanbase/dengfuping-dev
Browse files Browse the repository at this point in the history
fix(design): Space should be flexible by default to avoid shrink
  • Loading branch information
dengfuping authored Sep 12, 2024
2 parents fe805f3 + 2843f14 commit 9fc7325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/design/src/_util/useFlexGapSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { detectFlexGapSupported } from './styleChecker';

export default () => {
const [flexible, setFlexible] = React.useState(false);
const [flexible, setFlexible] = React.useState(true);
React.useEffect(() => {
setFlexible(detectFlexGapSupported());
}, []);
Expand Down

0 comments on commit 9fc7325

Please sign in to comment.