Allow nested sections to work correctly

This commit is contained in:
Webifi 2023-05-31 20:00:40 -05:00
parent e48484b04a
commit 427663167a
3 changed files with 5 additions and 3 deletions

View File

@ -35,7 +35,7 @@
<Navbar /> <Navbar />
<section class="section"> <section class="section root-section">
<div class="container is-fullhd"> <div class="container is-fullhd">
<div class="columns"> <div class="columns">
<div class="column is-one-fifth side-bar-column"> <div class="column is-one-fifth side-bar-column">

View File

@ -100,7 +100,7 @@ html {
flex-grow: 1; flex-grow: 1;
min-height: 100vh; min-height: 100vh;
section.section { section.section.root-section {
flex-grow: 1; flex-grow: 1;
} }
} }
@ -305,7 +305,7 @@ $modal-background-background-color-dark: rgba($dark, 0.86) !default; // remove t
width: var(--mainContentWidth) width: var(--mainContentWidth)
} }
section.section { section.section.root-section {
padding: 0px; padding: 0px;
padding-top: var(--sectionPaddingTop); padding-top: var(--sectionPaddingTop);
} }

View File

@ -5,6 +5,7 @@ $: apiKey = $apiKeyStorage
</script> </script>
<section class="section">
<article class="message"> <article class="message">
<div class="message-body"> <div class="message-body">
<strong><a href="https://github.com/Niek/chatgpt-web">ChatGPT-web</a></strong> <strong><a href="https://github.com/Niek/chatgpt-web">ChatGPT-web</a></strong>
@ -59,3 +60,4 @@ $: apiKey = $apiKeyStorage
</div> </div>
</article> </article>
{/if} {/if}
</section>