edited ImageSubtitle formatting

This commit is contained in:
2026-01-30 20:28:23 +01:00
parent 89f112ee0f
commit 367f38676d
2 changed files with 22 additions and 9 deletions

View File

@@ -6,16 +6,26 @@
} = $props();
</script>
<span class="image-subtitle">{content}</span>
<div class="image-subtitle-container">
<span class="image-arrow"></span>
<span class="image-subtitle">{content}</span>
</div>
<style>
.image-subtitle::before {
content: "↳ ";
}
.image-subtitle {
display: block;
width: 80%;
.image-subtitle-container {
display: flex;
flex-direction: row;
width: var(--media-width);
margin: 0 auto;
}
.image-subtitle, .image-arrow {
font-size: 1rem;
line-height: 1.2rem;
margin: 2px 0 0 0;
}
.image-arrow {
margin-right: 4px;
}
</style>