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
  • !37311
An error occurred while fetching the assigned milestone of the selected merge_request.

Fix `.btn` padding for input/button[type="image"]

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/WinterSilence/patch-1 into main 2 years ago
  • Overview 4
  • Commits 4
  • Pipelines 0
  • Changes 2

Created by: WinterSilence

Description

Remove padding for input/button containing image.

Motivation & Context

Fix incorrect size of input/button: padding added to image size.

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would change existing functionality)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Live previews

https://codepen.io/WinterSilence/pen/jOxdyeO?editors=1100

Related issues

Compare
  • main (base)

and
  • latest version
    d9952561
    4 commits, 2 years ago

2 files
+ 5
- 2

    Preferences

    File browser
    Compare changes
sc‎ss‎
_butto‎ns.scss‎ +3 -0
.bundlewatch‎.config.json‎ +2 -2
scss/_buttons.scss
+ 3
- 0
  • View file @ d9952561


@@ -113,6 +113,9 @@
}
}
[type="image"].btn {
padding: 0;
}
//
// Alternate buttons
.bundlewatch.config.json
+ 2
- 2
  • View file @ d9952561


@@ -26,11 +26,11 @@
},
{
"path": "./dist/css/bootstrap.css",
"maxSize": "29.5 kB"
"maxSize": "29.6 kB"
},
{
"path": "./dist/css/bootstrap.min.css",
"maxSize": "27.5 kB"
"maxSize": "27.6 kB"
},
{
"path": "./dist/js/bootstrap.bundle.js",
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: github/fork/WinterSilence/patch-1

Menu

Explore Projects Groups Snippets