feat: Audio Recorder Reskinning (#17295)

* feat: Update spacing, font-size, font-weight, permission denied know more link for audio recorder

* feat: Change audio recorder default height from 8 to 7
This commit is contained in:
Dhruvik Neharia 2022-10-07 00:37:19 +05:30 committed by GitHub
parent da23cba1e3
commit c4e77b61f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View File

@ -49,7 +49,12 @@ const RightContainer = styled.div`
flex-direction: column;
justify-content: space-around;
height: 100%;
padding-left: 8%;
padding-left: 16px;
.status {
font-size: 16px;
font-weight: bold;
}
& > .controls {
display: flex;
@ -58,6 +63,10 @@ const RightContainer = styled.div`
margin-left: 5%;
border: none;
}
button.close-button {
margin-left: auto;
}
}
`;
@ -264,7 +273,8 @@ function PlayerButton(props: PlayerButtonProps) {
default:
return (
<Button
icon={<Icon color="#F22B2B" icon="small-cross" iconSize={20} />}
className="close-button"
icon={<Icon color="#858282" icon="small-cross" iconSize={20} />}
minimal
onClick={onClick}
outlined
@ -492,7 +502,7 @@ function RecorderRight(props: RecorderRightProps) {
<div className="status">{statusMessage}</div>
{recorderStatus === RecorderStatusTypes.PERMISSION_DENIED ? (
<a
href="https://help.sprucehealth.com/article/386-changing-permissions-for-video-and-audio-on-your-internet-browser"
href="https://support.google.com/chrome/answer/2693767"
rel="noreferrer"
target="_blank"
>

View File

@ -11,7 +11,7 @@ export const CONFIG = {
iconColor: "white",
isDisabled: false,
isVisible: true,
rows: 8,
rows: 7,
columns: 16,
widgetName: "AudioRecorder",
version: 1,