-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: optimize reward author button style
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<div class="reward-author-container border-box flex-center"> | ||
<button class="keep-button border-box tooltip-img" | ||
<button class="keep-button border-box flex-center reward-btn tooltip tooltip-img" | ||
data-tooltip-content="<%= theme?.post?.reward?.text || __('post.reward') %>" | ||
data-tooltip-img-url="<%= theme?.post?.reward?.img_link %>" | ||
data-tooltip-img-trigger="hover" | ||
data-tooltip-img-trigger="click" | ||
data-tooltip-img-style="top: -8px;" | ||
> | ||
<i class="fa-solid fa-hand-holding-heart"></i> <%= theme?.post?.reward?.text || __('post.reward') %> | ||
<i class="fa-solid fa-hand-holding-heart"></i> | ||
</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,15 @@ | |
} | ||
} | ||
} | ||
|
||
|
||
.reward-btn { | ||
width 2.6rem | ||
height 2.6rem | ||
border-radius 50% | ||
|
||
i { | ||
font-size 1rem | ||
} | ||
} | ||
} |