Skip to content
Open
Changes from 1 commit
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
9 changes: 4 additions & 5 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="grid grid-flow-row md:grid-flow-col md:auto-cols-[300px] gap-3 lg:gap-5">
Copy link
Contributor

Choose a reason for hiding this comment

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

Why there are two grid styles implement, we already have grid style in the code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sir removing ( auto-cols-[300px]) was disturbing the desktop version in little way so i avoided it, if it's ok then i will align the boxes and remove the additional grid style .
image

Copy link
Contributor

Choose a reason for hiding this comment

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

Sir removing ( auto-cols-[300px]) was disturbing the desktop version in little way so i avoided it, if it's ok then i will align the boxes and remove the additional grid style . image

No the point is there are two grid sections in the updated code, if you are solving for the small screen better use media screens dont change the existing style

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sir, I have used two grid styles one for small screen and one for desktop version which was already there, even after trying for using media screen, some styles were not getting overidded sir (grid-flow-row) was not getting overidded sir.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screen.Recording.2025-10-31.010643.mp4

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