fix: text overflow

This commit is contained in:
Tomáš Mládek 2023-04-01 18:27:22 +02:00
parent f0cd9c4978
commit 26fd000a46

View file

@ -40,7 +40,7 @@
{#if handled}
<div class="preview" class:detail>
{#if types.text}
<div class="text">
<div class="text-viewer">
<TextViewer {address} />
</div>
{/if}
@ -97,7 +97,7 @@
}
img,
.text {
.text-viewer {
width: 100%;
max-height: 100%;
}
@ -107,9 +107,10 @@
flex-grow: 1;
}
.text {
.text-viewer {
display: flex;
margin-bottom: 1rem;
margin-bottom: 2rem;
min-height: 0;
}
img {