Skip to content

Web UI: square ads in the sidebar, wide banners on top; restore logo size - #39

Merged
githubflyideas merged 2 commits into
mainfrom
sponsor-layout
Nov 5, 2026
Merged

githubflyideas merged 2 commits into
mainfrom
sponsor-layout

Conversation

@githubflyideas

Copy link
Copy Markdown
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.

traffic66 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.
@githubflyideas
githubflyideas merged commit 9d791f2 into main Nov 5, 2026
9 checks passed
@github-actions
github-actions Bot deleted the sponsor-layout branch November 5, 2026 16:35
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.

1 participant