diff --git a/source/css/_common/components/post/post-reward.styl b/source/css/_common/components/post/post-reward.styl index 8ba316b..adfcda8 100644 --- a/source/css/_common/components/post/post-reward.styl +++ b/source/css/_common/components/post/post-reward.styl @@ -2,7 +2,6 @@ margin: $post-card-margin; padding: 1em 0; text-align: center; - width: 90%; button { background: transparent; @@ -25,8 +24,8 @@ } .post-reward { - padding-top: 20px; display: none; + padding-top: 20px; &.active { display: block; diff --git a/source/css/_schemes/Pisces/_layout.styl b/source/css/_schemes/Pisces/_layout.styl index 2bd5cf9..1d40564 100644 --- a/source/css/_schemes/Pisces/_layout.styl +++ b/source/css/_schemes/Pisces/_layout.styl @@ -1,9 +1,3 @@ -.header { - // Make sure that .header and .main-inner are the same height - // Required for .sidebar `position: sticky;` - align-self: stretch; -} - .header-inner { background: var(--content-bg-color); border-radius: $border-radius-inner; @@ -17,7 +11,9 @@ } .main { - align-items: flex-start; + // Make sure that .header and .main-inner are the same height + // Required for .sidebar `position: sticky;` + align-items: stretch; display: flex; justify-content: space-between; main-container(); @@ -33,7 +29,6 @@ } .main-inner { - align-self: stretch; border-radius: $border-radius-inner; box-sizing: border-box; width: $content-wrap; diff --git a/source/css/_variables/base.styl b/source/css/_variables/base.styl index ffd7c6e..97868e7 100644 --- a/source/css/_variables/base.styl +++ b/source/css/_variables/base.styl @@ -278,7 +278,7 @@ $b2t-bg-color = $black-deep; $post-eof-margin-top = 80px; // or 160px for more white space; $post-eof-margin-bottom = 60px; // or 120px for less white space; -$post-card-margin = 1em auto 0; +$post-card-margin = 1em 0 0; // Note colors // --------------------------------------------------