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
f15eb7b4
Commit
f15eb7b4
authored
Aug 26, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #4506: clearfix added to .dl-horizontal to account for empty dd elements
parent
cfa039d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+15
-0
less/type.less
less/type.less
+1
-0
No files found.
docs/assets/css/bootstrap.css
View file @
f15eb7b4
...
@@ -725,6 +725,21 @@ dd {
...
@@ -725,6 +725,21 @@ dd {
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.dl-horizontal
{
*
zoom
:
1
;
}
.dl-horizontal
:before
,
.dl-horizontal
:after
{
display
:
table
;
line-height
:
0
;
content
:
""
;
}
.dl-horizontal
:after
{
clear
:
both
;
}
.dl-horizontal
dt
{
.dl-horizontal
dt
{
float
:
left
;
float
:
left
;
width
:
120px
;
width
:
120px
;
...
...
less/type.less
View file @
f15eb7b4
...
@@ -116,6 +116,7 @@ dd {
...
@@ -116,6 +116,7 @@ dd {
}
}
// Horizontal layout (like forms)
// Horizontal layout (like forms)
.dl-horizontal {
.dl-horizontal {
.clearfix(); // Ensure dl clears floats if empty dd elements present
dt {
dt {
float: left;
float: left;
width: 120px;
width: 120px;
...
...
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