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 {
|
||||
white-space: pre-wrap;
|
||||
max-width: 100%;
|
||||
p {
|
||||
font-size: 6vh;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.content__viewer--floating {
|
||||
|
|
|
@ -46,7 +46,9 @@ function FileViewerEmbeddedEnded(props: Props) {
|
|||
</div>
|
||||
{!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">
|
||||
<>
|
||||
{showReplay && (
|
||||
|
|
Loading…
Reference in a new issue