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

feat: adds `.btn-circle`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/zalog/zalog-btn-circle into v4-dev Dec 20, 2017
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 1

Created by: zalog

It would be nice for us to have circle buttons, but I think we have to make sure that all the child icons align fine. Demo: https://codepen.io/zalog/pen/YYWraX

Perhaps we should use flex .btn-circle { display: inline-flex; justify-content: center; align-items: center; }, and make some tunings on the icon itself? And some for child svgs to take the inherit color: svg { fill: currentColor; }?

This is a wip temp branch because I'm not sure if this is the right abordation. Especially on the (16 / 2) part to get that 2px border from the normal buttons.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/zalog/zalog-btn-circle