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
0c70744e
Commit
0c70744e
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#9538
: prevent Firefox rendering bug via some border-fu
parent
0e39f945
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/bootstrap.css
+2
-1
dist/css/bootstrap.css
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
less/dropdowns.less
+6
-1
less/dropdowns.less
with
9 additions
and
3 deletions
+9
-3
dist/css/bootstrap.css
+
2
-
1
View file @
0c70744e
...
...
@@ -2473,6 +2473,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
vertical-align
:
middle
;
border-top
:
4px
solid
#000000
;
border-right
:
4px
solid
transparent
;
border-bottom
:
0
dotted
;
border-left
:
4px
solid
transparent
;
content
:
""
;
}
...
...
@@ -2591,7 +2592,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
.dropup
.caret
,
.navbar-fixed-bottom
.dropdown
.caret
{
border-top
:
0
;
border-top
:
0
dotted
;
border-bottom
:
4px
solid
#000000
;
content
:
""
;
}
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
0c70744e
This diff is collapsed.
Click to expand it.
less/dropdowns.less
+
6
-
1
View file @
0c70744e
...
...
@@ -13,6 +13,9 @@
border-top: @caret-width-base solid @dropdown-caret-color;
border-right: @caret-width-base solid transparent;
border-left: @caret-width-base solid transparent;
// Firefox fix for https://github.com/twbs/bootstrap/issues/9538. Once fixed,
// we can just straight up remove this.
border-bottom: 0 dotted;
content: "";
}
...
...
@@ -161,7 +164,9 @@
.navbar-fixed-bottom .dropdown {
// Reverse the caret
.caret {
border-top: 0;
// Firefox fix for https://github.com/twbs/bootstrap/issues/9538. Once this
// gets fixed, restore `border-top: 0;`.
border-top: 0 dotted;
border-bottom: 4px solid @dropdown-caret-color;
content: "";
}
...
...
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