Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 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,16 +239,17 @@ 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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Srinu346 please don't change the UTG Section, This line will change the position of the UTG section

<div className="grid gap-4 sm:grid-cols-3 xl:gap-6">
<UTG />
</div>
</div>
</section>
);
Expand Down
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