Commit 98d693ba authored by Mark Otto's avatar Mark Otto

Fixes #14142: Adding horizontal padding to captions in tables in panels.

parent 7fcc6c78
...@@ -5110,6 +5110,12 @@ a.list-group-item-danger.active:focus { ...@@ -5110,6 +5110,12 @@ a.list-group-item-danger.active:focus {
.panel > .panel-collapse > .table { .panel > .panel-collapse > .table {
margin-bottom: 0; margin-bottom: 0;
} }
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
padding-right: 15px;
padding-left: 15px;
}
.panel > .table:first-child, .panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child { .panel > .table-responsive:first-child > .table:first-child {
border-top-left-radius: 3px; border-top-left-radius: 3px;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5110,6 +5110,12 @@ a.list-group-item-danger.active:focus { ...@@ -5110,6 +5110,12 @@ a.list-group-item-danger.active:focus {
.panel > .panel-collapse > .table { .panel > .panel-collapse > .table {
margin-bottom: 0; margin-bottom: 0;
} }
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
padding-right: 15px;
padding-left: 15px;
}
.panel > .table:first-child, .panel > .table:first-child,
.panel > .table-responsive:first-child > .table:first-child { .panel > .table-responsive:first-child > .table:first-child {
border-top-left-radius: 3px; border-top-left-radius: 3px;
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -100,6 +100,11 @@ ...@@ -100,6 +100,11 @@
> .table-responsive > .table, > .table-responsive > .table,
> .panel-collapse > .table { > .panel-collapse > .table {
margin-bottom: 0; margin-bottom: 0;
caption {
padding-left: @panel-body-padding;
padding-right: @panel-body-padding;
}
} }
// Add border top radius for first one // Add border top radius for first one
> .table:first-child, > .table:first-child,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment