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,8 +196,12 @@
|
|||
}
|
||||
|
||||
.file-viewer_embed-ended-title {
|
||||
max-width: 100%;
|
||||
p {
|
||||
font-size: 6vh;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.content__viewer--floating {
|
||||
.file-viewer__overlay-title,
|
||||
|
|
|
@ -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