Skip to content

Commit

Permalink
fix: deprecation warning of !global assignments
Browse files Browse the repository at this point in the history
and margin issue of post-copyright.
  • Loading branch information
reuixiy committed Sep 19, 2020
1 parent cb4fb52 commit 504ee32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/scss/components/_post-copyright.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.post-copyright {
margin: 0;
list-style: none;
margin-top: 5em;
margin-top: 5em !important;
padding: 0.5em 1em;
background-color: alpha(var(--color-contrast-lower), 0.5);
border-left: 3px solid alpha(var(--color-primary), 0.5);
Expand Down
6 changes: 4 additions & 2 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,12 @@ $fofPoster: url({{ $fofPoster }});

// Responsive

$greaterWidth: null;

@if ($postWidth > $listWidth) {
$greaterWidth: $postWidth !global;
$greaterWidth: $postWidth;
} @else {
$greaterWidth: $listWidth !global;
$greaterWidth: $listWidth;
}

@import "base/max-width";
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"css/meme.min.e85645f1a691e2b7781894b893994d6a26ce7c51ae5fcf5507b1833063cc6b3c.css","MediaType":"text/css","Data":{"Integrity":"sha256-6FZF8aaR4rd4GJS4k5lNaibOfFGuX89VB7GDMGPMazw="}}
{"Target":"css/meme.min.26fe96ae9fed8f5a769032402c9033ec968beb280ae5e3866bd9e8c233970b09.css","MediaType":"text/css","Data":{"Integrity":"sha256-Jv6Wrp/tj1p2kDJALJAz7JaL6ygK5eOGa9nowjOXCwk="}}

0 comments on commit 504ee32

Please sign in to comment.