diff --git a/README.md b/README.md index c209568..3820ffc 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,11 @@ npm ci npm run dev # or: npm run build ``` +To update the [`awesome-chatgpt-prompts`](/src/awesome-chatgpt-prompts/) subtree, run : +```bash +git subtree pull --prefix src/awesome-chatgpt-prompts https://github.com/f/awesome-chatgpt-prompts.git main --squash +``` + ## Use with Docker compose ```bash diff --git a/src/app.scss b/src/app.scss index e00d002..864e2e4 100644 --- a/src/app.scss +++ b/src/app.scss @@ -117,4 +117,14 @@ $modal-background-background-color-dark: rgba($dark, 0.86) !default; // remove t width: 1.5rem; height: 1.5rem; border-width: 0.25em; +} + +/* Support for fullwidth dropdowns, see https://github.com/jgthms/bulma/issues/2055 */ +.dropdown.is-fullwidth { + display: flex; + + .dropdown-trigger, + .dropdown-menu { + width: 100%; + } } \ No newline at end of file diff --git a/src/lib/Chat.svelte b/src/lib/Chat.svelte index 428c5c1..c5646bd 100644 --- a/src/lib/Chat.svelte +++ b/src/lib/Chat.svelte @@ -15,6 +15,7 @@ supportedModels } from './Types.svelte' import Code from './Code.svelte' + import Prompts from './Prompts.svelte' import { afterUpdate, onMount } from 'svelte' import { replace } from 'svelte-spa-router' @@ -496,6 +497,10 @@ {/if} +{#if chat.messages.length === 0} + +{/if} +
submitForm()}>