Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
70d95b1b
Commit
70d95b1b
authored
Jan 27, 2012
by
Pete Hopkins
Browse files
Options
Browse Files
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
with
2 additions
and
1 deletion
+2
-1
less/buttons.less
less/buttons.less
+2
-1
No files found.
less/buttons.less
View file @
70d95b1b
...
@@ -67,7 +67,6 @@
...
@@ -67,7 +67,6 @@
// Button Base
// Button Base
display: inline-block;
display: inline-block;
padding: 4px 10px 4px;
padding: 4px 10px 4px;
*padding: 2px 10px;
// IE7 likes to collapse the whitespace before the button, so bring it back...
// IE7 likes to collapse the whitespace before the button, so bring it back...
*margin-left: 4px;
*margin-left: 4px;
&:first-child {
&:first-child {
...
@@ -151,6 +150,8 @@
...
@@ -151,6 +150,8 @@
// Help Firefox not be a jerk about adding extra padding to buttons
// Help Firefox not be a jerk about adding extra padding to buttons
button.btn,
button.btn,
input[type=submit].btn {
input[type=submit].btn {
// IE7 has some default padding on button controls
*padding: 2px 10px;
&::-moz-focus-inner {
&::-moz-focus-inner {
padding: 0;
padding: 0;
border: 0;
border: 0;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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