HomePhabricator

[e.cash] Build page custom select with anchor links

Description

[e.cash] Build page custom select with anchor links

Summary:
The select input on the /build page quickstart section had inconsistent styling for the dropdown box. Some browsers were getting white text on a white background.

Direct CSS styling is very inconsistent in overriding the browser styles so implementing a custom select component to maintain the same look across devices.

Also adding some logic to make anchor links work with the quickstart nav, so going to /build#examples for example will scroll to the quickstart section and have the examples tab selected. This requested feature will make it possible to link to specific quickstart sections

after

Screenshot 2025-09-05 at 12.18.05 PM.png (663×936 px, 153 KB)

before

dropdown-box-display-issue.jpg (1×571 px, 41 KB)

Test Plan: preview and test quickstart nav and anchor links

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D18570

Details

Provenance
johnkuneyAuthored on Sep 5 2025, 17:10
johnkuneyPushed on Sep 5 2025, 21:25
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABC2ac846dd7283: [avalanche] Remove invalidated transactions from the mempool
Branches
Unknown
Tags
Unknown