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}
|
||||
<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 {
|
||||
|
|
Loading…
Reference in a new issue