banner2: dates no longer go below the title

This commit is contained in:
2026-04-12 07:19:44 +02:00
parent 4e3e6a455e
commit 1b41127100
2 changed files with 4 additions and 2 deletions

View File

@@ -24,9 +24,9 @@
</script>
{#snippet titles({title, subtitle, date}: {title: string, subtitle: string, date: string})}
<h1 class="title">{title}</h1>
<div class="title-container">
<div class="title-text-container">
<h1 class="title">{title}</h1>
{#if subtitle}
<p class="subtitle">[ {subtitle} ]</p>
{/if}
@@ -120,6 +120,8 @@
display: flex;
flex-direction: column;
align-items: flex-end;
align-self: flex-end;
margin-top: 16px;
}
.title {