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

Rename `.navbar-toggleable-xs` to `.navbar-toggleable` + more cleanup

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/Starsam80/small-cleanups into v4-dev Nov 28, 2016
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 15

Created by: Starsam80

The first commit is purely just whitespace fixes and can be dropped if needed:

  • Align all the CSS properties
  • Remove outdated comment

The second commit does several things:

  • Remove -xs from .navbar-toggleable-xs: While my solution works, it isn't the prettiest. From my experimentation I couldn't find a better way without copying and pasting the whole thing.
  • Remove some duplicate code
  • Move the .navbar-toggleable chunk down to the bottom of the file, so it can override some CSS properties like margin-left without needing !important

The third commit is pretty simple:

  • Rename .navbar-toggleable-xs to .navbar-toggleable
  • Rename .float-xs-(left|right) to .float-(left|right): This fixes several bugs in the docs and examples.

This PR ended up a lot bigger than I would have wanted, but I find it's really hard to separate commits so I can't undo some of the changes I did. Oh well.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Starsam80/small-cleanups