Repository navigation
Web UI: square ads in the sidebar, wide banners on top; restore logo size - #39
Merged
Merged
Conversation
githubflyideas
commented
Nov 5, 2026
Owner
- Restore the full logo size (undo the small-screen media query that shrank it).
- Sponsor slides are placed by image aspect ratio: wide banners (ratio >= 3) show at the top of the main area (max 90px), square ads show in the sidebar at their real ratio (max 220px).
- The sidebar keeps the default text box when no square ad is available; each slot hides when empty and both hide once registered.
- No change to the sponsors.json format or business logic.
added 2 commits
November 6, 2026 00:37
Keep the compact sidebar layout, but stop shrinking the brand logo on short screens so it stays at the original 72px max height. Make the unregistered sponsor slot about 20% larger (image height, label and text).
Classify sponsor images by natural aspect ratio (no new manifest field): ratio >= 3 goes to a slim centred strip above the page header; the rest fill the sidebar at the image's own proportions (max height 220px). Keep rotation, UTM tagging, hide-when-registered and the default text fallback. Revert the earlier 1.2x sidebar ad bump; logo stays at full size.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.