Skip to content

Commit 9fe28f1

Browse files
committed
fix: changed Grid so GridItems stack at small screen widths
1 parent 5573ba5 commit 9fe28f1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/react-core/src/demos/Animations/examples/Animations.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,14 +1188,14 @@ export const Animations: FunctionComponent = () => {
11881188
);
11891189

11901190
const detailStatusEvents = (
1191-
<Grid hasGutter>
1192-
<GridItem span={4}>
1191+
<Grid hasGutter xl2={4}>
1192+
<GridItem>
11931193
<DetailsCard />
11941194
</GridItem>
1195-
<GridItem span={4}>
1195+
<GridItem>
11961196
<CardStatus />
11971197
</GridItem>
1198-
<GridItem span={4}>
1198+
<GridItem>
11991199
<EventsCard />
12001200
</GridItem>
12011201
</Grid>
@@ -1346,7 +1346,7 @@ export const Animations: FunctionComponent = () => {
13461346
const handlePasswordChange = (_event, password: string) => {
13471347
setPassword(password);
13481348
setIsPasswordValid(
1349-
password.length > 12 && /[0-9]/.test(password) && /[A-Z]/.test(password) ? 'success' : 'error'
1349+
password.length >= 12 && /[0-9]/.test(password) && /[A-Z]/.test(password) ? 'success' : 'error'
13501350
);
13511351
};
13521352

0 commit comments

Comments
 (0)