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
  • !33404

Update look and feel of examples and copy buttons

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge redesign-examples into main Mar 19, 2021
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 2
Screen Shot 2021-03-18 at 10 08 16 PM

Restores some of the look and feel from previous versions :). More specifically:

  • Adds border around the code snippets
  • Removes the blue coloring around Copy buttons
  • Adds the language at the top of each code snippet
  • Includes some messy code for attaching multiple code snippets to an example (see above screenshot)—would love help cleaning this up somehow. Maybe I just wrap it all in some custom HTML? Something else?

/cc @XhmikosR

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: redesign-examples