mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
expand: avoid superflous margin at start and end of content #558
This commit is contained in:
parent
61776a070f
commit
df37463789
1 changed files with 4 additions and 0 deletions
|
@ -505,6 +505,8 @@ div.box > .box-content {
|
|||
#body table td > :first-child :first-child,
|
||||
#body div.box > .box-content > :first-child,
|
||||
#body div.box > .box-content > :first-child :first-child,
|
||||
#body div.expand > .expand-content-text > :first-child,
|
||||
#body div.expand > .expand-content-text > :first-child :first-child,
|
||||
#body div.tab-content > .tab-content-text > :first-child,
|
||||
#body div.tab-content > .tab-content-text > :first-child :first-child {
|
||||
margin-top: 0;
|
||||
|
@ -516,6 +518,8 @@ div.box > .box-content {
|
|||
#body table td > :last-child :last-child,
|
||||
#body div.box > .box-content > :last-child,
|
||||
#body div.box > .box-content > :last-child :last-child,
|
||||
#body div.expand > .expand-content-text > :last-child,
|
||||
#body div.expand > .expand-content-text > :last-child :last-child,
|
||||
#body div.tab-content > .tab-content-text > :last-child,
|
||||
#body div.tab-content > .tab-content-text > :last-child :last-child {
|
||||
margin-bottom: 0;
|
||||
|
|
Loading…
Reference in a new issue