1
0
Fork 0
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:
Mark Otto 2014-01-14 21:44:38 -08:00
parent 8fb75ee9e7
commit 413c8a6da5
7 changed files with 18 additions and 5 deletions

View file

@ -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;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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