diff --git a/ui/scss/component/_file-render.scss b/ui/scss/component/_file-render.scss index 2b65b0d7d..d43615d91 100644 --- a/ui/scss/component/_file-render.scss +++ b/ui/scss/component/_file-render.scss @@ -196,7 +196,11 @@ } .file-viewer_embed-ended-title { - white-space: pre-wrap; + max-width: 100%; + p { + font-size: 6vh; + white-space: pre-wrap; + } } .content__viewer--floating { diff --git a/web/component/fileViewerEmbeddedEnded/view.jsx b/web/component/fileViewerEmbeddedEnded/view.jsx index 695637716..d365146b5 100644 --- a/web/component/fileViewerEmbeddedEnded/view.jsx +++ b/web/component/fileViewerEmbeddedEnded/view.jsx @@ -46,7 +46,9 @@ function FileViewerEmbeddedEnded(props: Props) { {!preferEmbed && ( <> -
{prompt}
+