Skip to content

Conversation

@vansh2408
Copy link

Description

Summary of Changes

  • Fixed the issue where the logo.dev banner shrinks on smaller screens.
  • Ensured consistent banner dimensions across breakpoints for better visual stability.
  • Maintained proportional scaling without distortion or text compression.

Related Issue

Closes #73


Type of Change

  • Bug fix (non-breaking change that fixes a layout issue)

Checklist

  • Verified on mobile and tablet devices
  • Banner maintains consistent proportions
  • Code follows Tailwind and project styling conventions

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a responsive design issue where the logo.dev banner was shrinking on smaller screens, ensuring consistent banner dimensions across all device breakpoints.

  • Updated container padding to use more responsive values across breakpoints
  • Modified grid gap spacing for better layout on smaller screens
  • Enhanced banner styling with flexbox alignment and adjusted padding

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


<div className="flex-shrink-0">
<a className="flex gap-1 w-fit text-lg border-2 border-border shadow-shadow pl-2 pr-4 rounded-md bg-secondary-background text-foreground" href="https://logo.dev"><Image src={"https://img.logo.dev/logo.dev?token=pk_Ovv0aVUwQNK80p_PGY_xcg"} className="rounded-md" alt="Logo" width={30} height={30} /> Logos provided by Logo.dev</a>
<a className="flex items-center gap-1 text-lg border-2 border-border shadow-shadow px-1 rounded-md bg-secondary-background text-foreground" href="https://logo.dev"><Image src={"https://img.logo.dev/logo.dev?token=pk_Wk4d-LNEStqzZmztHBp8Jw"} className="rounded-md" alt="Logo" width={30} height={30} /> Logos provided by Logo.dev</a>
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

[nitpick] The padding change from pl-2 pr-4 to px-1 reduces the horizontal padding significantly (from 8px left + 16px right to 4px both sides). This might make the banner text too cramped. Consider using px-2 or px-3 to maintain adequate spacing while still preventing shrinking issues.

Suggested change
<a className="flex items-center gap-1 text-lg border-2 border-border shadow-shadow px-1 rounded-md bg-secondary-background text-foreground" href="https://logo.dev"><Image src={"https://img.logo.dev/logo.dev?token=pk_Wk4d-LNEStqzZmztHBp8Jw"} className="rounded-md" alt="Logo" width={30} height={30} /> Logos provided by Logo.dev</a>
<a className="flex items-center gap-1 text-lg border-2 border-border shadow-shadow px-3 rounded-md bg-secondary-background text-foreground" href="https://logo.dev"><Image src={"https://img.logo.dev/logo.dev?token=pk_Wk4d-LNEStqzZmztHBp8Jw"} className="rounded-md" alt="Logo" width={30} height={30} /> Logos provided by Logo.dev</a>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove logo.dev banner shrink on smaller screens.

1 participant