Skip to content
GitLab
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
94cc3335
Commit
94cc3335
authored
11 years ago
by
Aaron
Browse files
Options
Download
Email Patches
Plain Diff
Fix component margin and padding values to use @line-height-computed
parent
90e4ff73
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
less/accordion.less
+1
-1
less/accordion.less
less/breadcrumbs.less
+1
-1
less/breadcrumbs.less
less/code.less
+3
-3
less/code.less
less/mixins.less
+1
-1
less/mixins.less
less/pager.less
+1
-1
less/pager.less
less/pagination.less
+1
-1
less/pagination.less
less/tables.less
+1
-1
less/tables.less
with
9 additions
and
9 deletions
+9
-9
less/accordion.less
+
1
-
1
View file @
94cc3335
...
...
@@ -5,7 +5,7 @@
// Parent container
.accordion {
margin-bottom: @line-height-
base
;
margin-bottom: @line-height-
computed
;
}
// Group == heading + body
...
...
This diff is collapsed.
Click to expand it.
less/breadcrumbs.less
+
1
-
1
View file @
94cc3335
...
...
@@ -5,7 +5,7 @@
.breadcrumb {
padding: 8px 15px;
margin: 0 0 @line-height-
base
;
margin: 0 0 @line-height-
computed
;
list-style: none;
background-color: #f5f5f5;
border-radius: @border-radius-base;
...
...
This diff is collapsed.
Click to expand it.
less/code.less
+
3
-
3
View file @
94cc3335
...
...
@@ -25,8 +25,8 @@ code {
// Blocks of code
pre {
display: block;
padding: ((@line-height-
base
- 1) / 2);
margin: 0 0 (@line-height-
base
/ 2);
padding: ((@line-height-
computed
- 1) / 2);
margin: 0 0 (@line-height-
computed
/ 2);
font-size: (@font-size-base - 1); // 14px to 13px
line-height: @line-height-base;
word-break: break-all;
...
...
@@ -40,7 +40,7 @@ pre {
// Make prettyprint styles more spaced out for readability
&.prettyprint {
margin-bottom: @line-height-
base
;
margin-bottom: @line-height-
computed
;
}
// Account for some code outputs that place code tags in pre tags
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
1
-
1
View file @
94cc3335
...
...
@@ -340,7 +340,7 @@
// Dividers (basically an hr) within dropdowns and nav lists
.nav-divider(@top: #e5e5e5, @bottom: #fff) {
height: 2px; // 1px for background, one for border
margin: ((@line-height-
base
/ 2) - 1) 0;
margin: ((@line-height-
computed
/ 2) - 1) 0;
overflow: hidden;
background-color: @top;
border-bottom: 1px solid @bottom;
...
...
This diff is collapsed.
Click to expand it.
less/pager.less
+
1
-
1
View file @
94cc3335
...
...
@@ -4,7 +4,7 @@
.pager {
margin: @line-height-
base
0;
margin: @line-height-
computed
0;
list-style: none;
text-align: center;
.clearfix();
...
...
This diff is collapsed.
Click to expand it.
less/pagination.less
+
1
-
1
View file @
94cc3335
...
...
@@ -3,7 +3,7 @@
// --------------------------------------------------
.pagination {
display: inline-block;
margin: @line-height-
base
0;
margin: @line-height-
computed
0;
border-radius: @border-radius-base;
}
.pagination > li {
...
...
This diff is collapsed.
Click to expand it.
less/tables.less
+
1
-
1
View file @
94cc3335
...
...
@@ -17,7 +17,7 @@ th {
.table {
width: 100%;
margin-bottom: @line-height-
base
;
margin-bottom: @line-height-
computed
;
// Cells
thead > tr > th,
tbody > tr > th,
...
...
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