Skip to content

Fix homepage logo on smaller screens#860

Merged
regulartim merged 4 commits intoGreedyBear-Project:developfrom
armoredvortex:fix-logo
Feb 24, 2026
Merged

Fix homepage logo on smaller screens#860
regulartim merged 4 commits intoGreedyBear-Project:developfrom
armoredvortex:fix-logo

Conversation

@armoredvortex
Copy link
Copy Markdown
Contributor

Description

Logo looked too small on smaller screen.
use CSS clamp() to scale with proper bounds

Related issues

Closes #855

Type of change

  • Bug fix (non-breaking change which fixes an issue).

Screenshot

image

Checklist

  • I have read and understood the rules about how to Contribute to this project.
  • The pull request is for the branch develop.
  • I have added documentation of the new features.
  • Linter (Ruff) gave 0 errors. If you have correctly installed pre-commit, it does these checks and adjustments on your behalf.
  • I have added tests for the feature/bug I solved. All the tests (new and old ones) gave 0 errors.
  • If changes were made to an existing model/serializer/view, the docs were updated and regenerated (check CONTRIBUTE.md).
  • If the GUI has been modified:
    • I have a provided a screenshot of the result in the PR.
    • I have created new frontend tests for the new component or updated existing ones.

Copy link
Copy Markdown
Collaborator

@regulartim regulartim left a comment

Choose a reason for hiding this comment

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

Shouldn't that change be in Home.scss? The SCSS file still has background-size: 15% on line 18 conflicting with the changes you made here.

Suggestion:
background-size: clamp(200px, 15vw, 300px) auto; in Home.scss sould lead to the same result, right?

@armoredvortex
Copy link
Copy Markdown
Contributor Author

Apologies for that, I'm just accustomed to the tailwind way of things.

Copy link
Copy Markdown
Collaborator

@regulartim regulartim left a comment

Choose a reason for hiding this comment

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

Nice, thanks! 👍

@regulartim regulartim merged commit dca0b7e into GreedyBear-Project:develop Feb 24, 2026
5 checks passed
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.

2 participants