Skip to content
GitLab
    • Explore Projects Groups Snippets
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
  • !20867

Drop the $small-font-size variable for the newer $font-size-sm one

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge dedupe-sm-vars into v4-dev 8 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Originally $small-font-size was added in v3 to set the font-size of the <small> element. Now that we have newer, global type variables, we can use those instead for these kind of things.

Fixes #20859 (closed)

Compare
  • v4-dev (base)

and
  • latest version
    8f6a4730
    1 commit, 2 years ago

2 files
+ 1
- 3

    Preferences

    File browser
    Compare changes
sc‎ss‎
_type‎.scss‎ +1 -1
_variab‎les.scss‎ +0 -2
scss/_type.scss
+ 1
- 1
  • View file @ 8f6a4730

  • Edit in single-file editor

  • Open in Web IDE


@@ -60,7 +60,7 @@ hr {
small,
.small {
font-size: $small-font-size;
font-size: $font-size-sm;
font-weight: normal;
}
scss/_variables.scss
+ 0
- 2
  • View file @ 8f6a4730

  • Edit in single-file editor

  • Open in Web IDE


@@ -205,8 +205,6 @@ $headings-color: inherit !default;
$lead-font-size: 1.25rem !default;
$lead-font-weight: 300 !default;
$small-font-size: 80% !default;
$text-muted: $gray-light !default;
$abbr-border-color: $gray-light !default;
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
2
css v4
2
css v4
    Assign labels
  • Manage project labels

Milestone
v4.0.0-alpha.5
v4.0.0-alpha.5
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Mark Otto
Reference: twbs/bootstrap!20867
Source branch: dedupe-sm-vars

Menu

Explore Projects Groups Snippets