mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
support minimal
This commit is contained in:
parent
9de1f66e35
commit
59e489565d
@ -154,6 +154,7 @@ export class AudioPlayer extends React.Component {
|
|||||||
["hovering"]: this.props.frame !== false && this.state.showControls,
|
["hovering"]: this.props.frame !== false && this.state.showControls,
|
||||||
["minimized"]: !app.isMobile && this.context.minimized,
|
["minimized"]: !app.isMobile && this.context.minimized,
|
||||||
["no-frame"]: this.props.frame === false,
|
["no-frame"]: this.props.frame === false,
|
||||||
|
["minimal"]: this.props.minimal,
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
onMouseEnter={this.onMouse}
|
onMouseEnter={this.onMouse}
|
||||||
|
@ -30,10 +30,10 @@ html {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
width: 270px;
|
width: 100%;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
|
|
||||||
border-radius: 12px;
|
//border-radius: 12px;
|
||||||
|
|
||||||
pointer-events: initial;
|
pointer-events: initial;
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ html {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
padding: 10px;
|
//padding: 10px;
|
||||||
|
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ html {
|
|||||||
|
|
||||||
transition: all 150ms ease-out;
|
transition: all 150ms ease-out;
|
||||||
|
|
||||||
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
|
//box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
|
||||||
|
|
||||||
.service_indicator {
|
.service_indicator {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user