Fix routify empty span tags affecting dom layout

This commit is contained in:
Andrew Kingston 2021-04-13 14:44:46 +01:00
parent d5827e15b3
commit 5448cf02b8
1 changed files with 4 additions and 1 deletions

View File

@ -72,7 +72,7 @@
.content { .content {
flex: 1 1 auto; flex: 1 1 auto;
padding: var(--spacing-l) 40px; padding: var(--spacing-l) 40px 40px 40px;
overflow-y: auto; overflow-y: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -81,6 +81,9 @@
gap: var(--spacing-l); gap: var(--spacing-l);
background: var(--background); background: var(--background);
} }
.content :global(> span) {
display: contents;
}
.nav { .nav {
overflow-y: auto; overflow-y: auto;