Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !27633

Replace holder.js with inline SVG

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge v4-dev-martijncuppens-placeholders into v4-dev Nov 08, 2018
  • Overview 0
  • Commits 7
  • Pipelines 0
  • Changes 28

Created by: MartijnCuppens

Replaces holder.js with a non-JavaScript solution.

Holder.js is still used on the example pages, that's why I didn't remove it yet. Merging #27605 could could make it easier to remove.

Wow, now I see @m5o did a similar PR a few hours ago

TODO:

  • Use this in examples too
  • Make highlight code not show the svg but instead an img tag
  • Always add the <title>?
  • Remove holder.js when everything else is ready
  • Maybe find another way so that we don't include docs.min.css in examples
  • Do we even need viewBox?
  • Make sure text is big in smaller screens too
  • Clean up/squash some patches before merging

Closes #27632 by superseding it and fixes #23185 (closed) along the way.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: v4-dev-martijncuppens-placeholders