Some instances of the H2 component will require a centered image. Adding an optional paramater to allow for that
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABC6e0875a0e0ef: [e.cash] Center H2 image
npm run dev
scroll down to Roadmap section on the homepage and check the Header looks correct
To see the full effect of the change try changing the "roadmap" title to something longer, and then try removing the center
prop from the H2, you should see the line image go to the left
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- ecash-center-h2
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 24069 Build 47748: Build Diff Build 47747: arc lint + arc unit
Event Timeline
web/e.cash/components/h2/index.js | ||
---|---|---|
11 ↗ | (On Diff #40825) | in this case, center will not be false if not provided, it will be undefined modify the logic so that center will be false unless center is explicitly input as true |
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (preview-e.cash) passed.
Preview is available at http://54.39.19.73:41751 for the next 60 minutes.