[ui] larger preview on detail
parent
1030d7cf03
commit
e04cda1cf2
|
@ -48,7 +48,13 @@
|
||||||
disabled={only}
|
disabled={only}
|
||||||
/>
|
/>
|
||||||
</header>
|
</header>
|
||||||
<Inspect {address} editable={editable || false} {index} on:resolved />
|
<Inspect
|
||||||
|
{address}
|
||||||
|
editable={editable || false}
|
||||||
|
{index}
|
||||||
|
--preview-height={detail ? "50vh" : "20em"}
|
||||||
|
on:resolved
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
|
@ -114,12 +114,12 @@
|
||||||
img,
|
img,
|
||||||
.text {
|
.text {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 25em;
|
max-height: var(--preview-height, 25em);
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 25em;
|
min-height: var(--preview-height, 25em);
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
|
|
Loading…
Reference in New Issue