Get rid of <section> tag and global styling

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-09-21 11:19:30 +02:00
parent e8d5c4c7bb
commit 91e3ed5c0b
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -94,8 +94,7 @@ body::-webkit-scrollbar-thumb {
background: var(--color-negative);
}
main,
section {
main {
display: block;
}
+3 -3
View File
@@ -24,7 +24,7 @@
</script>
<style>
section {
.timeline {
display: flex;
flex-direction: column;
flex: 1;
@@ -37,7 +37,7 @@
}
</style>
<section>
<div class="timeline">
{#each timeline as element}
{#if element.type === TimelineType.Merge && element.inner.peer.person}
<div class="element">
@@ -74,4 +74,4 @@
</div>
{/if}
{/each}
</section>
</div>