Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/docsy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorPatrice Chalin <pchalin@gmail.com>2021-03-03 19:53:20 +0300
committerPatrice Chalin <pchalin@gmail.com>2021-03-03 19:53:20 +0300
commit1e966492c682c25e71d53ddd94e4c48b45d80c68 (patch)
treee2b9d132d38dc9fbc538ef0185e9e5225cb35b62 /assets
parenta7dc77412c533fefc71730927350677fed35f576 (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.scss2
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;
}