Skip to content

Commit

Permalink
Fix layout for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Rem0o committed Nov 17, 2023
1 parent 7d5f1ee commit 2c2e89b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/reactComponents/articles/articles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const articles = [
[
"assets/techguided.png",
"https://techguided.com/best-fan-control-software/",
"bg-[#000000] rounded-xl p-2"
"bg-[#000000] rounded-xl p-2 w-24"
],
[
"assets/softlay.png",
Expand Down
6 changes: 3 additions & 3 deletions src/reactPages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const IndexPage = () => {
<p>Low on resources, high on power.</p>
</div>

<div className="flex gap-6">
<div className="flex flex-wrap gap-6 justify-center">
<GithubButton />
<DownloadButton onClick={() => setShowModal(true)} />
</div>
Expand Down Expand Up @@ -211,7 +211,7 @@ export const IndexPage = () => {
<div className="mb-8 mt-16 align-middle text-2xl font-medium">
Featured articles
</div>
<div className="flex items-center space-x-5 space-y-5 align-text-top">
<div className="flex flex-wrap items-center space-x-5 space-y-5 align-text-top">
{articles.map((x) => {
const [imgSrc, href, style] = x;

Expand All @@ -221,7 +221,7 @@ export const IndexPage = () => {
</section>

<section className="my-10 w-full bg-body-200 px-5 py-20">
<div className=" wrap mx-auto flex max-w-5xl flex-wrap place-content-center content-evenly gap-12 sm:grid-cols-1 md:grid-cols-2 xl:grid-cols-3">
<div className="wrap mx-auto flex max-w-5xl flex-wrap place-content-center content-evenly gap-12 sm:grid-cols-1 md:grid-cols-2 xl:grid-cols-3">
{[
[icons.svgPaths.bulb, "Flexible by design"],
[icons.svgPaths.graph, "7 Fan Curve types"],
Expand Down

0 comments on commit 2c2e89b

Please sign in to comment.