Embed: resize "ended message" based on container height
This commit is contained in:
parent
9ec5a7c298
commit
b42e882a02
2 changed files with 8 additions and 2 deletions
|
@ -196,7 +196,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-viewer_embed-ended-title {
|
.file-viewer_embed-ended-title {
|
||||||
|
max-width: 100%;
|
||||||
|
p {
|
||||||
|
font-size: 6vh;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content__viewer--floating {
|
.content__viewer--floating {
|
||||||
|
|
|
@ -46,7 +46,9 @@ function FileViewerEmbeddedEnded(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
{!preferEmbed && (
|
{!preferEmbed && (
|
||||||
<>
|
<>
|
||||||
<div className="file-viewer__overlay-title file-viewer_embed-ended-title">{prompt}</div>
|
<div className="file-viewer__overlay-title file-viewer_embed-ended-title">
|
||||||
|
<p>{prompt}</p>
|
||||||
|
</div>
|
||||||
<div className="file-viewer__overlay-actions">
|
<div className="file-viewer__overlay-actions">
|
||||||
<>
|
<>
|
||||||
{showReplay && (
|
{showReplay && (
|
||||||
|
|
Loading…
Reference in a new issue