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
0561cfec
Commit
0561cfec
authored
Aug 11, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #8900: nuke empty space between panel heading and list group
parent
a88888aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
2 deletions
+23
-2
dist/css/bootstrap.css
dist/css/bootstrap.css
+8
-0
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/panels.less
less/panels.less
+14
-1
No files found.
dist/css/bootstrap.css
View file @
0561cfec
...
@@ -2426,6 +2426,14 @@ a.list-group-item.active .list-group-item-text {
...
@@ -2426,6 +2426,14 @@ a.list-group-item.active .list-group-item-text {
border-bottom
:
0
;
border-bottom
:
0
;
}
}
.panel-heading
+
.list-group
{
margin-top
:
-15px
;
}
.panel-heading
+
.list-group
.list-group-item
:first-child
{
border-top-width
:
0
;
}
.panel-heading
{
.panel-heading
{
padding
:
10px
15px
;
padding
:
10px
15px
;
margin
:
-15px
-15px
15px
;
margin
:
-15px
-15px
15px
;
...
...
dist/css/bootstrap.min.css
View file @
0561cfec
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/panels.less
View file @
0561cfec
...
@@ -11,8 +11,14 @@
...
@@ -11,8 +11,14 @@
border: 1px solid @panel-border;
border: 1px solid @panel-border;
border-radius: @panel-border-radius;
border-radius: @panel-border-radius;
.box-shadow(0 1px 1px rgba(0,0,0,.05));
.box-shadow(0 1px 1px rgba(0,0,0,.05));
}
// List groups in panels
//
// By default, space out list group content from panel headings to account for
// any kind of custom content between the two.
// List groups in panels
.panel {
.list-group {
.list-group {
margin: 15px -15px -15px;
margin: 15px -15px -15px;
...
@@ -30,6 +36,13 @@
...
@@ -30,6 +36,13 @@
}
}
}
}
}
}
// Collapse space between when there's no additional content.
.panel-heading + .list-group {
margin-top: -15px;
.list-group-item:first-child {
border-top-width: 0;
}
}
// Optional heading
// Optional heading
.panel-heading {
.panel-heading {
...
...
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