From efe68c5ab2ec3943db53ece5935422259c2ad607 Mon Sep 17 00:00:00 2001 From: ftk789 Date: Mon, 18 Jul 2022 12:46:57 +0300 Subject: [PATCH] Box paddings fix, Ordinary restylying --- .../tts/tts_result_view/TtsResultViewFc.tsx | 56 +++++++++++-------- 1 file changed, 32 insertions(+), 24 deletions(-) diff --git a/packages/fakeyou/src/v2/view/tts/tts_result_view/TtsResultViewFc.tsx b/packages/fakeyou/src/v2/view/tts/tts_result_view/TtsResultViewFc.tsx index d01193aecf..3e2b0268ee 100644 --- a/packages/fakeyou/src/v2/view/tts/tts_result_view/TtsResultViewFc.tsx +++ b/packages/fakeyou/src/v2/view/tts/tts_result_view/TtsResultViewFc.tsx @@ -11,7 +11,7 @@ import { VisibleIconFc } from '../../_icons/VisibleIcon'; import { GetTtsResult, GetTtsResultIsErr, GetTtsResultIsOk, TtsResult, TtsResultLookupError } from '../../../api/tts/GetTtsResult'; import { TtsResultAudioPlayerFc } from './TtsResultAudioPlayerFc'; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { faDownload } from "@fortawesome/free-solid-svg-icons"; +import { faDownload, faEdit, faTrash } from "@fortawesome/free-solid-svg-icons"; interface Props { sessionWrapper: SessionWrapper, } @@ -217,7 +217,6 @@ function TtsResultViewFc(props: Props) { href={audioLink} download={audioDownloadFilename}> Download File - @@ -241,9 +240,9 @@ function TtsResultViewFc(props: Props) {
+
-
- +
- - - + +
@@ -270,15 +269,20 @@ function TtsResultViewFc(props: Props) { Visibility {resultVisibility}
-
-

Model Used

-
+
+
+ + +
+
+

Model Used

+ + - + - + - + @@ -302,32 +306,36 @@ function TtsResultViewFc(props: Props) { - + + +
Model nameModel name {modelName} @@ -286,13 +290,13 @@ function TtsResultViewFc(props: Props) {
Model creatorModel creator {modelCreatorDetails}
Vocoder usedVocoder used {vocoderUsed}
WorkerWorker {ttsInferenceResult.generated_by_worker}
- +
+
{debugRows} {moderatorRows} - - - -
- - - +
+
+ + +

+ ) }