Skip to content

Commit

Permalink
Support displaying wider follow-me QR code images
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiajun-Peng committed Sep 1, 2024
1 parent 0708dc7 commit 2bd1f74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/css/_common/components/post/post-followme.styl
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ if (hexo-config('follow_me')) {
.social-item-img {
display: none;
left: 50%;
max-width: $post-reward-img-width;
max-width: $post-followme-img-width;
position: absolute;
transform: translate(-50%, 20px);
z-index: 1;
}
}
}
Expand Down
1 change: 1 addition & 0 deletions source/css/_variables/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ $post-eof-margin-bottom = 60px; // or 120px for less white space;

$post-card-margin = 1em 0 0;
$post-reward-img-width = 180px;
$post-followme-img-width = 460px;


// Note colors
Expand Down

0 comments on commit 2bd1f74

Please sign in to comment.