Skip to content

Commit ecf0d08

Browse files
committed
Fix CSS issue
Placing an <aside> surrounding a <p> broke formatting at the end of a .panel-body <div>. Fix was more general and works with any container element, not just <aside>.
1 parent 6e5c5cf commit ecf0d08

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_sass/_dd-custom-styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,10 @@ a[href^="http"] {
519519
.panel-body {
520520
> *:last-child {
521521
margin-bottom: 0;
522+
> *:last-child {
523+
// ensures that if last child is a container, it's last child has no bottom margin
524+
margin-bottom: 0;
525+
}
522526
}
523527
}
524528
h2 {

0 commit comments

Comments
 (0)