Skip to content

Commit e2628c3

Browse files
committed
fix: fix the misplacement of poster avatar
1 parent b0917b7 commit e2628c3

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

Aurora-plugin/vuepress-plugin-player/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vuepress-plugin-player",
3-
"version": "1.1.0",
4-
"description": "A vuepress-based animation blog theme, simple, beautiful, multi-color, multiple custom functions, providing article poster sharing, talk, photo album, comment and other features 一个基于vuepress的动漫类博客主题,简洁,漂亮,多色彩,多种自定义功能,提供文章海报分享,说说,相册,评论等特色功�?",
3+
"version": "1.1.2-beta.1",
4+
"description": "这是vuepress2版本的一个音乐播放器插件,支持本地歌曲和网易云歌曲,提供单曲顺序播放,随机播放等功能",
55
"main": "./lib/node/index.js",
66
"directories": {
77
"lib": "lib"
@@ -27,7 +27,7 @@
2727
"bugs": {
2828
"url": "https://github.com/vuepress-aurora/vuepress-plugin-music-player/issues"
2929
},
30-
"homepage": "https://aurora.xcye.xyz/plugin/music-player",
30+
"homepage": "https://aurora.xcye.xyz/plugin/player",
3131
"dependencies": {
3232
"axios": "^0.21.1"
3333
}

Aurora-theme/lib/client/styles/theme.style.css

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,9 +2276,10 @@ body::-webkit-scrollbar-thumb {
22762276
}
22772277

22782278
#poster-page-avatar {
2279-
max-width: 5rem;
2280-
padding: .5rem;
2281-
border-radius: 30rem
2279+
height: 5rem;
2280+
width: 5rem;
2281+
padding: 0;
2282+
border-radius: 100rem
22822283
}
22832284

22842285
.poster-bottom {
@@ -2555,7 +2556,7 @@ body::-webkit-scrollbar-thumb {
25552556

25562557
.poster-append {
25572558
z-index: 1;
2558-
position: absolute;
2559+
position: fixed;
25592560
height: 100%;
25602561
width: 100%;
25612562
top: 0;
@@ -2745,9 +2746,12 @@ body::-webkit-scrollbar-thumb {
27452746
}
27462747

27472748
#poster-page-avatar {
2748-
max-width: 5rem;
2749-
padding: .5rem;
2750-
border-radius: 100rem
2749+
/*max-width: 5rem;*/
2750+
/*max-height: 5rem;*/
2751+
height: 5rem;
2752+
width: 5rem;
2753+
padding: 0;
2754+
border-radius: 200rem
27512755
}
27522756

27532757
#poster-say {
@@ -3072,9 +3076,9 @@ body::-webkit-scrollbar-thumb {
30723076
}
30733077

30743078
#poster-page-avatar {
3075-
max-width: 5rem;
3076-
padding: .5rem;
3077-
border-radius: 30rem
3079+
/*max-width: 5rem;*/
3080+
padding: 0;
3081+
border-radius: 100rem
30783082
}
30793083

30803084
.home-page-tag-img {

docs/.vuepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ module.exports = {
10321032
suffixBlog: " theme",
10331033

10341034
//头像,请放置在docs/public目录下,或者请保证此图片链接能够跨域访问,否则头像不能正常显示
1035-
avatar: "/avatar.png",
1035+
avatar: "/avatar.jpg",
10361036
},
10371037

10381038
//是否展示从网络上请求回来的说说 如果启用,请自己写后台服务,修改源码,目前暂未在主题中加入,期望在将来能够实现,组件位置docs/.vuepress/theme/lib/client/components/Mood.vue

docs/.vuepress/public/avatar.jpg

48.6 KB
Loading

0 commit comments

Comments
 (0)