notice: fix margin if box starts with a table #411

This commit is contained in:
Sören Weber 2022-12-02 15:46:12 +01:00
parent ea6c8ff3e4
commit 0373d34e91
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -466,18 +466,20 @@ div.box > .box-label {
}
div.box > .box-content {
padding-bottom: .1rem;
padding-top: 1rem;
padding-bottom: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
#body div.box > .box-content > :first-child {
#body div.box > .box-content > :first-child,
#body div.box > .box-content > :first-child :first-child {
margin-top: 0;
padding-top: 1rem;
}
#body div.box > .box-content > :last-child {
margin-bottom: 1rem;
#body div.box > .box-content > :last-child,
#body div.box > .box-content > :last-child :last-child {
margin-bottom: 0;
}
/* attachments shortcode */