diff options
author | Patrice Chalin <pchalin@gmail.com> | 2021-03-03 19:53:20 +0300 |
---|---|---|
committer | Patrice Chalin <pchalin@gmail.com> | 2021-03-03 19:53:20 +0300 |
commit | 1e966492c682c25e71d53ddd94e4c48b45d80c68 (patch) | |
tree | e2b9d132d38dc9fbc538ef0185e9e5225cb35b62 /assets | |
parent | a7dc77412c533fefc71730927350677fed35f576 (diff) |
td-default: ensure only first top-level section gets extra padding
Ensure that only the first top-level .td-default section (usually the hero section) gets extra padding, not nested sections.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/scss/_main-container.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/scss/_main-container.scss b/assets/scss/_main-container.scss index 2dc54ea..bd02071 100644 --- a/assets/scss/_main-container.scss +++ b/assets/scss/_main-container.scss @@ -8,7 +8,7 @@ // The outer page container for the default base template. .td-default { main { - section:first-of-type { + > section:first-of-type { @include media-breakpoint-up(md) { padding-top: 8rem; } |