Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A Alloy Assemblies
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Alloy Magnetic
  • Alloy Assemblies
  • Issues
  • #12

Closed
Open
Created Sep 15, 2017 by Derek Adams@derekOwner

Image Billboard

Screen_Shot_2017-09-14_at_11.33.43_AM

Machine Name

image_billboard

Fields

billboard_image - this will be used as a background (omit alt, but we'll bubble up the title element in layout)

Layout

Full bleed image fixed at 250px tall. Use the title value of the billboard image as the title tag on the main billboard div/section element

Questions

Should the billboard still be 250px tall in mobile? @megan @anna

Notes

This billboard interacts in an interesting way with the breadcrumb. The breadcrumb appears on top of the billboard. Potential solutions:

  1. Set a class on the page element based on whether the breadcrumb is present. Then target a negative top margin on the whole assembly equal to the breadcrumb's height. Unfortunately, we don't know how tall the breadcrumb is if it wraps, particularly on mobile, so this isn't a good solution.
  2. In page_preprocess, we check for the presence of a skinny billboard, and if found, we set a class on the breadcrumb that reduces its height to 0, but sets overflow-y to visible. I can't think of any drawbacks to this method.
Edited Oct 04, 2017 by Matt Moen
Assignee
Assign to
Time tracking