[ui] allow images in detail to fill screen
parent
c9a79492de
commit
a477468272
|
@ -314,6 +314,7 @@
|
|||
.attributes {
|
||||
flex: auto;
|
||||
height: 0; // https://stackoverflow.com/a/14964944
|
||||
min-height: 12em;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</script>
|
||||
|
||||
{#if handled}
|
||||
<div class="preview" class:detail>
|
||||
<div class="preview" class:detail class:image>
|
||||
{#if text}
|
||||
<div class="text">
|
||||
<TextViewer {address} />
|
||||
|
@ -106,6 +106,12 @@
|
|||
&.detail {
|
||||
max-height: 50vh;
|
||||
}
|
||||
|
||||
&.detail.image {
|
||||
max-height: unset;
|
||||
flex-grow: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
video,
|
||||
|
|
Loading…
Reference in New Issue