mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-12 20:14:15 +00:00
improve music track play button on mobile
This commit is contained in:
parent
d12cd77b77
commit
548e5010b0
@ -12,7 +12,6 @@ import { Context } from "contexts/WithPlayerContext"
|
|||||||
import "./index.less"
|
import "./index.less"
|
||||||
|
|
||||||
export default (props) => {
|
export default (props) => {
|
||||||
// use react context to get the current track
|
|
||||||
const {
|
const {
|
||||||
track_manifest,
|
track_manifest,
|
||||||
playback_status,
|
playback_status,
|
||||||
|
@ -1,3 +1,25 @@
|
|||||||
|
html {
|
||||||
|
&.mobile {
|
||||||
|
.music-track {
|
||||||
|
.music-track_actions {
|
||||||
|
.music-track_action {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.music-track_orderIndex {
|
||||||
|
transform: translate(-45%, -30%);
|
||||||
|
padding: 0;
|
||||||
|
font-size: 0.7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-btn {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.music-track {
|
.music-track {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user