Fix code-aligning to the left, max column size - fixes #13

This commit is contained in:
Niek van der Maas 2023-03-06 08:50:00 +01:00
parent c89bb88602
commit 2a725adfa5
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<div class="column is-one-fifth"> <div class="column is-one-fifth">
<Sidebar bind:apiKey bind:sortedChats bind:activeChatId /> <Sidebar bind:apiKey bind:sortedChats bind:activeChatId />
</div> </div>
<div class="column"> <div class="column is-four-fifths">
{#if activeChatId} {#if activeChatId}
<Chat bind:chatId={activeChatId} /> <Chat bind:chatId={activeChatId} />
{:else} {:else}

View File

@ -38,6 +38,11 @@ a.is-disabled {
overflow-y:hidden; overflow-y:hidden;
} }
/* Left-align code blocks in messages */
.message-body > pre {
text-align: left !important;
}
$footer-padding: 3rem 1.5rem; $footer-padding: 3rem 1.5rem;
@import "/node_modules/bulma/bulma.sass"; @import "/node_modules/bulma/bulma.sass";