mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
web/ChangelogEntry: deduplicate padding when banner isn't visible
This commit is contained in:
parent
dbbd43e002
commit
edd1137228
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue