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
  • Issues
  • #13903
Closed
Open
Issue created Jun 23, 2014 by Administrator@rootContributor

Block buttons with text on one side and icon on the other

Created by: knownasilya

I found this to be the simplest way, but looking to see if there is a better way to do this:

screen shot 2014-06-23 at 12 35 31 pm

Accomplishing it via this:

<button class="btn btn-default btn-block" type="button" style="padding: 0.4em;">
  <span class="pull-left">Add Middle Mile</span>
  <i class="fa fa-angle-right pull-right"></i>
</button>

Note: Padding is required, or both sit against the border.

Would be nice if there was a way to do this with the icon on the left or right, with maybe a responsive setup..? Or is the way above the recommended way?

Assignee
Assign to
Time tracking