mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +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>
|
</script>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<div id="changelog-header">
|
<div id="changelog-header" class:no-padding={!banner}>
|
||||||
<div class="changelog-info">
|
<div class="changelog-info">
|
||||||
<div class="changelog-version">{version}</div>
|
<div class="changelog-version">{version}</div>
|
||||||
{#if date}
|
{#if date}
|
||||||
|
@ -56,6 +56,10 @@
|
||||||
padding-bottom: 1em; /* match default <p> padding */
|
padding-bottom: 1em; /* match default <p> padding */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#changelog-header.no-padding {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.changelog-info {
|
.changelog-info {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
Loading…
Reference in a new issue