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
70d95b1b
Commit
70d95b1b
authored
13 years ago
by
Pete Hopkins
Browse files
Options
Download
Email Patches
Plain Diff
Moves IE7-specific button padding to only apply to form controls
parent
3b3dbd72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/buttons.less
+2
-1
less/buttons.less
with
2 additions
and
1 deletion
+2
-1
less/buttons.less
+
2
-
1
View file @
70d95b1b
...
...
@@ -67,7 +67,6 @@
// Button Base
display: inline-block;
padding: 4px 10px 4px;
*padding: 2px 10px;
// IE7 likes to collapse the whitespace before the button, so bring it back...
*margin-left: 4px;
&:first-child {
...
...
@@ -151,6 +150,8 @@
// Help Firefox not be a jerk about adding extra padding to buttons
button.btn,
input[type=submit].btn {
// IE7 has some default padding on button controls
*padding: 2px 10px;
&::-moz-focus-inner {
padding: 0;
border: 0;
...
...
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