fix: text overflow
This commit is contained in:
parent
f0cd9c4978
commit
26fd000a46
1 changed files with 5 additions and 4 deletions
|
@ -40,7 +40,7 @@
|
||||||
{#if handled}
|
{#if handled}
|
||||||
<div class="preview" class:detail>
|
<div class="preview" class:detail>
|
||||||
{#if types.text}
|
{#if types.text}
|
||||||
<div class="text">
|
<div class="text-viewer">
|
||||||
<TextViewer {address} />
|
<TextViewer {address} />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
img,
|
img,
|
||||||
.text {
|
.text-viewer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
|
@ -107,9 +107,10 @@
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text-viewer {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 2rem;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
Loading…
Reference in a new issue