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
998c8a6e
Commit
998c8a6e
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fix double padding issue on fluid layout and example
parent
8d52e6d4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/assets/css/bootstrap-responsive.css
+7
-4
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
+2
-2
docs/assets/css/bootstrap.css
less/mixins.less
+2
-2
less/mixins.less
less/responsive-767px-max.less
+5
-0
less/responsive-767px-max.less
with
16 additions
and
8 deletions
+16
-8
docs/assets/bootstrap.zip
+
0
-
0
View file @
998c8a6e
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap-responsive.css
+
7
-
4
View file @
998c8a6e
...
@@ -136,6 +136,9 @@
...
@@ -136,6 +136,9 @@
margin-left
:
-20px
;
margin-left
:
-20px
;
margin-right
:
-20px
;
margin-right
:
-20px
;
}
}
.container-fluid
{
padding
:
0
;
}
.container
{
.container
{
width
:
auto
;
width
:
auto
;
}
}
...
@@ -282,11 +285,11 @@
...
@@ -282,11 +285,11 @@
.row-fluid
:after
{
.row-fluid
:after
{
clear
:
both
;
clear
:
both
;
}
}
.row-fluid
>
[
class
*=
"span"
]
{
.row-fluid
[
class
*=
"span"
]
{
float
:
left
;
float
:
left
;
margin-left
:
2.762430939%
;
margin-left
:
2.762430939%
;
}
}
.row-fluid
>
[
class
*=
"span"
]
:first-child
{
.row-fluid
[
class
*=
"span"
]
:first-child
{
margin-left
:
0
;
margin-left
:
0
;
}
}
.row-fluid
>
.span12
{
.row-fluid
>
.span12
{
...
@@ -473,11 +476,11 @@
...
@@ -473,11 +476,11 @@
.row-fluid
:after
{
.row-fluid
:after
{
clear
:
both
;
clear
:
both
;
}
}
.row-fluid
>
[
class
*=
"span"
]
{
.row-fluid
[
class
*=
"span"
]
{
float
:
left
;
float
:
left
;
margin-left
:
2.564102564%
;
margin-left
:
2.564102564%
;
}
}
.row-fluid
>
[
class
*=
"span"
]
:first-child
{
.row-fluid
[
class
*=
"span"
]
:first-child
{
margin-left
:
0
;
margin-left
:
0
;
}
}
.row-fluid
>
.span12
{
.row-fluid
>
.span12
{
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
2
-
2
View file @
998c8a6e
...
@@ -253,11 +253,11 @@ a:hover {
...
@@ -253,11 +253,11 @@ a:hover {
.row-fluid
:after
{
.row-fluid
:after
{
clear
:
both
;
clear
:
both
;
}
}
.row-fluid
>
[
class
*=
"span"
]
{
.row-fluid
[
class
*=
"span"
]
{
float
:
left
;
float
:
left
;
margin-left
:
2.127659574%
;
margin-left
:
2.127659574%
;
}
}
.row-fluid
>
[
class
*=
"span"
]
:first-child
{
.row-fluid
[
class
*=
"span"
]
:first-child
{
margin-left
:
0
;
margin-left
:
0
;
}
}
.row-fluid
>
.span12
{
.row-fluid
>
.span12
{
...
...
This diff is collapsed.
Click to expand it.
less/mixins.less
+
2
-
2
View file @
998c8a6e
...
@@ -578,11 +578,11 @@
...
@@ -578,11 +578,11 @@
.row-fluid {
.row-fluid {
width: 100%;
width: 100%;
.clearfix();
.clearfix();
>
[class*="span"] {
[class*="span"] {
float: left;
float: left;
margin-left: @fluidGridGutterWidth;
margin-left: @fluidGridGutterWidth;
}
}
>
[class*="span"]:first-child {
[class*="span"]:first-child {
margin-left: 0;
margin-left: 0;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/responsive-767px-max.less
+
5
-
0
View file @
998c8a6e
...
@@ -75,11 +75,16 @@
...
@@ -75,11 +75,16 @@
padding-left: 20px;
padding-left: 20px;
padding-right: 20px;
padding-right: 20px;
}
}
// Negative indent the now static "fixed" navbar
.navbar-fixed-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
.navbar-fixed-bottom {
margin-left: -20px;
margin-left: -20px;
margin-right: -20px;
margin-right: -20px;
}
}
// Remove padding on container given explicit padding set on body
.container-fluid {
padding: 0;
}
// GRID & CONTAINERS
// GRID & CONTAINERS
// -----------------
// -----------------
...
...
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