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
  • #18026
Closed
Open
Issue created Oct 23, 2015 by Administrator@rootContributor

Flexbox alignment & ordering classes shouldn't hardcode the grid tiers

Created by: ghost

my-file.scss

    $enable-flex: true;

    $grid-breakpoints: (
      xs: 0,
      sm: 544px,
      md: 768px,
      lg: 992px
    );

    @import "../bootstrap/variables";

    @import "../bootstrap/mixins";

    @import "../bootstrap/normalize";
    @import "../bootstrap/reboot";

    @import "../bootstrap/grid";

If I remove xl from breakpoints variable, classes like

    .col-xl-top {
        align-self: flex-start;
    }

    .col-xl-center {
        align-self: center;
    }

    .col-xl-bottom {
        align-self: flex-end;
    }

still remain in compiled code... Can you please fix that or tell me what I am doing wrong?

Assignee
Assign to
Time tracking