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

Remove duplicate CSS caused by mixins

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/danieljuhl/master into master Sep 19, 2013
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 6

Created by: danieljuhl

Removed parentheses in declaration of mixins (in mixins.less) which is going to be accessible as a class.

Removed the classes (in utilities.less) which has already been declared as mixins without parentheses, as they will be added to the final CSS.

In LESS any class can be used as a mixin, but when we declare a mixin and afterwards add a class with the same name, LESS actually duplicates the mixin. When we apply e.g. the .clearfix to the .row-selector, the clearfix CSS is added twice to the final CSS.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/danieljuhl/master