Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
7d9fb1dd
Commit
7d9fb1dd
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Jankily fix input group wrapping with button groups in Firefox (fixes #8321, #8429, and
#8067
)
parent
1f48e837
3 merge requests
!8635
ignore Gruntfile.js in jekyll
,
!8656
Added rel="stylesheet" to CDN-Examples
,
!8527
Inner properties move 1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+1
-2
docs/assets/css/bootstrap.css
less/forms.less
+2
-2
less/forms.less
with
3 additions
and
4 deletions
+3
-4
docs/assets/css/bootstrap.css
+
1
-
2
View file @
7d9fb1dd
...
@@ -1792,11 +1792,10 @@ input[type="color"].input-small {
...
@@ -1792,11 +1792,10 @@ input[type="color"].input-small {
.input-group-btn
>
.btn
{
.input-group-btn
>
.btn
{
position
:
relative
;
position
:
relative
;
float
:
left
;
}
}
.input-group-btn
>
.btn
+
.btn
{
.input-group-btn
>
.btn
+
.btn
{
margin-left
:
-
1
px
;
margin-left
:
-
4
px
;
}
}
.input-group-btn
>
.btn
:hover
,
.input-group-btn
>
.btn
:hover
,
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
2
-
2
View file @
7d9fb1dd
...
@@ -392,9 +392,9 @@ input[type="color"] {
...
@@ -392,9 +392,9 @@ input[type="color"] {
}
}
.input-group-btn > .btn {
.input-group-btn > .btn {
position: relative;
position: relative;
float: left; // Collapse white-space
// Jankily prevent input button groups from wrapping
+ .btn {
+ .btn {
margin-left: -
1
px;
margin-left: -
4
px;
}
}
// Bring the "active" button to the front
// Bring the "active" button to the front
&:hover,
&:hover,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets