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
  • #26206
Closed
Open
Issue created Apr 05, 2018 by Administrator@rootContributor

Consider rem-calc() instead of calc()

Created by: Kopyov

In some cases, calc() thing breaks CSS: if i set $card-border-width to 0, compiled CSS for card header top border radius will look like calc(0.25rem - 0), which is incorrect. Same happens if $input-height-border variable is set to 0. We either need to document $border-width and other px values used in calc() function properly (value greater than 0 is required) or implement custom rem-calc() function, which will convert all px units to rem and get rid of calc() where possible.

Assignee
Assign to
Time tracking