mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #12210: badges in xs buttons
This commit is contained in:
parent
8fb75ee9e7
commit
413c8a6da5
7 changed files with 18 additions and 5 deletions
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
|
@ -4341,6 +4341,10 @@ textarea.input-group-sm > .input-group-btn > .btn {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
|
.btn-xs .badge {
|
||||||
|
top: 0;
|
||||||
|
padding: 1px 5px;
|
||||||
|
}
|
||||||
a.badge:hover,
|
a.badge:hover,
|
||||||
a.badge:focus {
|
a.badge:focus {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
7
docs/assets/js/customize.min.js
vendored
7
docs/assets/js/customize.min.js
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -28,6 +28,10 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
|
.btn-xs & {
|
||||||
|
top: 0;
|
||||||
|
padding: 1px 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hover state, but only for links
|
// Hover state, but only for links
|
||||||
|
|
Loading…
Reference in a new issue