Skip to content
21 changes: 10 additions & 11 deletions src/components/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
function UTG() {
return (
<div className="rounded-lg">
<ul className="grid auto-cols-[300px] grid-flow-col gap-3 lg:gap-5">
<ul className="product-grid grid gap-3 lg:gap-5">
<li className="mt-5 flex flex-col space-y-3 text-lg">
<Link
className="text-foreground-light flex-grow text-sm"
Expand Down Expand Up @@ -239,17 +239,16 @@ function UTG() {
export const Products = () => {
return (
<section className="mb-4 mt-12">
<h2 className="mb-4 text-2xl font-semibold tracking-wide md:text-3xl">
Products 🛠️
</h2>
<p className="text-l max-w-3xxl">
Keploy provides three key products that help you streamline your testing
workflow:
</p>

<div className="grid gap-4 sm:grid-cols-3 xl:gap-6">
<UTG />
<div>
<h2 className="mb-4 text-2xl font-semibold tracking-wide md:text-3xl">
Products 🛠️
</h2>
<p className="text-l max-w-3xxl">
Keploy provides three key products that help you streamline your
testing workflow:
</p>
</div>
<UTG />
</section>
);
};
13 changes: 13 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,19 @@ td img {
}
}

.product-grid {
grid-auto-columns: 100%;
grid-auto-flow: row;
}

@media screen and (min-width: 768px) {
.product-grid {
grid-auto-columns: 300px;
grid-auto-flow: column;
}
}


.docs-image-legend-wrapper {
width: 100%;
margin: 0;
Expand Down