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
2137cd65
Commit
2137cd65
authored
Aug 29, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #4819: manual fix of missing .control-label in responsive767 file, coupled with a remake
parent
e27b1355
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
19 deletions
+21
-19
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap-responsive.css
+1
-1
less/responsive-767px-max.less
less/responsive-767px-max.less
+20
-18
No files found.
docs/assets/css/bootstrap-responsive.css
View file @
2137cd65
...
@@ -876,7 +876,7 @@
...
@@ -876,7 +876,7 @@
input
[
type
=
"radio"
]
{
input
[
type
=
"radio"
]
{
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
}
}
.form-horizontal
.control-
group
>
label
{
.form-horizontal
.control-label
{
float
:
none
;
float
:
none
;
width
:
auto
;
width
:
auto
;
padding-top
:
0
;
padding-top
:
0
;
...
...
less/responsive-767px-max.less
View file @
2137cd65
...
@@ -132,24 +132,26 @@
...
@@ -132,24 +132,26 @@
}
}
// Remove the horizontal form styles
// Remove the horizontal form styles
.form-horizontal .control-group > label {
.form-horizontal {
float: none;
.control-label {
width: auto;
float: none;
padding-top: 0;
width: auto;
text-align: left;
padding-top: 0;
}
text-align: left;
// Move over all input controls and content
}
.form-horizontal .controls {
// Move over all input controls and content
margin-left: 0;
.controls {
}
margin-left: 0;
// Move the options list down to align with labels
}
.form-horizontal .control-list {
// Move the options list down to align with labels
padding-top: 0; // has to be padding because margin collaspes
.control-list {
}
padding-top: 0; // has to be padding because margin collaspes
// Move over buttons in .form-actions to align with .controls
}
.form-horizontal .form-actions {
// Move over buttons in .form-actions to align with .controls
padding-left: 10px;
.form-actions {
padding-right: 10px;
padding-left: 10px;
padding-right: 10px;
}
}
}
// Modals
// Modals
...
...
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