Skip to content

Commit

Permalink
style: post panel
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jan 29, 2023
1 parent 018ba2e commit d2eddc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion assets/main/scss/post/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
z-index: 1;

.post-panel {
bottom: 64px;
bottom: 80px;
opacity: 0.8;

&:hover {
opacity: 1;
}

.action {
margin: 0 0.25rem;
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/post/panel.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if default true .Site.Params.post.panel -}}
<div class="post-panel-wrapper position-relative d-flex justify-content-center">
<div class="d-flex flex-row justify-content-center rounded rounded-5 post-panel position-fixed px-3 py-1 surface shadow">
<div class="d-flex flex-row justify-content-center rounded rounded-5 border border-primary post-panel position-fixed px-3 py-1 surface shadow">
{{ partial "hooks/post-panel-begin" . }}
{{ partial "post/panel/translations" . }}
{{ partial "post/panel/reward" . }}
Expand Down

0 comments on commit d2eddc1

Please sign in to comment.