web/ChangelogEntry: deduplicate padding when banner isn't visible

This commit is contained in:
wukko 2024-07-21 14:45:24 +06:00
parent dbbd43e002
commit edd1137228
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -20,7 +20,7 @@
</script>
<main>
<div id="changelog-header">
<div id="changelog-header" class:no-padding={!banner}>
<div class="changelog-info">
<div class="changelog-version">{version}</div>
{#if date}
@ -56,6 +56,10 @@
padding-bottom: 1em; /* match default <p> padding */
}
#changelog-header.no-padding {
padding-bottom: 0;
}
.changelog-info {
display: flex;
flex-direction: row;