support minimal

This commit is contained in:
SrGooglo 2023-08-27 14:46:18 +00:00
parent 9de1f66e35
commit 59e489565d
2 changed files with 5 additions and 4 deletions

View File

@ -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}

View File

@ -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);