Skip to content

Commit f4d8931

Browse files
committed
fix: in react ui, improve gallery card min-width
Signed-off-by: Nick Mitchell <[email protected]>
1 parent 32524de commit f4d8931

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

pdl-live-react/src/page/welcome/Intro.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Content } from "@patternfly/react-core"
22

33
export default function Intro() {
44
return (
5-
<Content component="p" isEditorial>
5+
<Content component="p" isEditorial className="pdl-welcome-intro">
66
PDL is a declarative language designed for developers to create reliable,
77
composable LLM prompts and integrate them into software systems. It
88
provides a structured way to specify prompt templates, enforce validation,

pdl-live-react/src/page/welcome/Tiles.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ type Props = {
99
tiles?: ReactNode | ReactNode[]
1010
}
1111

12+
const minWidths = { default: "300px" }
13+
1214
export default function Tiles(props: Props) {
1315
return (
14-
<Gallery hasGutter>
16+
<Gallery hasGutter minWidths={minWidths}>
1517
{props.tiles ?? (
1618
<>
1719
<Upload />
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
.pdl-welcome-content {
1+
.pdl-welcome-intro {
22
max-width: 1200px;
33
}

0 commit comments

Comments
 (0)