Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I put aplayer with fixed mode enabled in the lower-right corner of the hexo blog instead of the lower-left corner #772

Open
waahah opened this issue Apr 23, 2023 · 1 comment

Comments

@waahah
Copy link

waahah commented Apr 23, 2023

How do I put aplayer with fixed mode enabled in the lower-right corner of the hexo blog instead of the lower-left corner

请问如何将开启fixed模式的aplayer放到hexo博客的右下角,而不是固定的左下角

@jrotty
Copy link

jrotty commented Dec 27, 2023

.aplayer.aplayer-fixed {
    left: unset !important;
    color: #000;
    width: 100%;
}
.aplayer.aplayer-fixed .aplayer-body{
    left: unset !important;
    width: 400px !important;
    max-width: calc(100% - 18px);
    padding-right: 0 !important;
}
.aplayer.aplayer-fixed .aplayer-miniswitcher {
    right: unset;
    left: -18px;
    transform: rotate(180deg);
}

最近刚好我也有这个需求,这几条css加上好像就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants