LastRenderedImage: Center image and limit width
This commit is contained in:
parent
29311417df
commit
5501f86215
@ -482,8 +482,11 @@ span.state-transition-arrow.lazy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.global-last-rendered {
|
.global-last-rendered {
|
||||||
grid-column-start: col-1;
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
grid-column-end: col-3;
|
grid-column-end: col-3;
|
||||||
|
grid-column-start: col-1;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
/* FIXME: the positioning of the image & sizing of the container DIV doesn't
|
/* FIXME: the positioning of the image & sizing of the container DIV doesn't
|
||||||
work well yet. */
|
work well yet. */
|
||||||
@ -492,4 +495,6 @@ span.state-transition-arrow.lazy {
|
|||||||
|
|
||||||
.global-last-rendered .last-rendered {
|
.global-last-rendered .last-rendered {
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -114,13 +114,9 @@ defineExpose({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.last-rendered {
|
|
||||||
background-color: #2b2b2b;
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
}
|
|
||||||
.last-rendered img {
|
.last-rendered img {
|
||||||
width: 100%;
|
max-height: 100%;
|
||||||
height: 100%;
|
max-width: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user