-
Notifications
You must be signed in to change notification settings - Fork 602
fix: remove duplicate back-to-top button (#1894) #1932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
28b5687
ecf4d92
5322b5b
d4f7567
3510ad5
97e2ad5
67f4fa8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -946,7 +946,7 @@ function renderCompare() { | |
| item.className = 'bg-white dark:bg-zinc-900 rounded-xl p-4 border border-zinc-100 dark:border-zinc-800'; | ||
| item.innerHTML = safeHTML` | ||
| <div class="w-10 h-10 rounded-lg bg-orange-100 dark:bg-orange-950/40 flex items-center justify-center mx-auto mb-3 overflow-hidden"> | ||
| <img src="${logoUrl}" data-org-name="${org.name}" class="w-full h-full object-contain" /> | ||
| <img src="${logoUrl}" data-org-name="${org.name}" alt="${org.name} logo" class="w-full h-full object-contain" /> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Out-of-scope change: the only edit in this file adds an Prompt for AI agents |
||
| </div> | ||
| <p class="font-bold text-sm truncate">${org.name}</p> | ||
| <p class="text-[10px] text-zinc-500 dark:text-zinc-400 font-label uppercase mt-1">${String(org.years)}y · ${org.competition}</p> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -521,49 +521,12 @@ body{background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',sans- | |
| } | ||
|
|
||
| .social-link.twitter:hover { | ||
| background: #1DA1F2; | ||
| border-color: #1DA1F2; | ||
| box-shadow: 0 0 12px rgba(29, 161, 242, 0.5); | ||
| background: #000000; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Out-of-scope style change: Twitter hover branding color changed from #1DA1F2 to #000000 in a PR scoped to removing a duplicate back-to-top button. Please remove this unrelated change or move it to a separate PR. Prompt for AI agents |
||
| border-color: #000000; | ||
| box-shadow: 0 0 12px rgba(0, 0, 0, 0.5); | ||
| } | ||
|
|
||
| #back-to-top-btn { | ||
| position: fixed; | ||
| bottom: 24px; | ||
| right: 24px; | ||
| width: 44px; | ||
| height: 44px; | ||
| border-radius: 50%; | ||
| background: var(--orange); | ||
| color: white; | ||
| border: none; | ||
| box-shadow: 0 4px 14px rgba(244, 107, 14, 0.4); | ||
| cursor: pointer; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| z-index: 90; | ||
| opacity: 0; | ||
| visibility: hidden; | ||
| transform: translateY(10px) scale(0.9); | ||
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | ||
| } | ||
|
|
||
| #back-to-top-btn.show { | ||
| opacity: 1; | ||
| visibility: visible; | ||
| transform: translateY(0) scale(1); | ||
| } | ||
|
|
||
| #back-to-top-btn:hover { | ||
| background: var(--orange-deep); | ||
| transform: translateY(-3px) scale(1.05); | ||
| box-shadow: 0 6px 20px rgba(244, 107, 14, 0.6); | ||
| } | ||
|
|
||
| #back-to-top-btn:focus-visible { | ||
| outline: 2px solid var(--orange); | ||
| outline-offset: 2px; | ||
| } | ||
| [data-theme="dark"] select option{background:#1A1108;color:var(--ink)} | ||
|
|
||
| /* ── SKELETON CARDS ── */ | ||
|
|
@@ -902,15 +865,5 @@ body{background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',sans- | |
| background: #18181b; | ||
| color: #a1a1aa; | ||
| } | ||
| .privacy-page #back-to-top-btn { | ||
| background: #f97316; | ||
| box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4); | ||
| } | ||
| .privacy-page #back-to-top-btn:hover { | ||
| background: #ea580c; | ||
| box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6); | ||
| } | ||
| .privacy-page #back-to-top-btn:focus-visible { | ||
| outline-color: #f97316; | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Unrelated behavior change:
Privacy Policylink opens in new tab, which is out of scope for a back-to-top duplication fix.Prompt for AI agents