diff --git a/README.md b/README.md index d9eb2ea..25b3cfb 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,7 @@ we use our own CI/CD workflow at [`.forgejo/workflows/deploy.yaml`](.forgejo/wor ## theming -the colors are designated in [`src/app.css`](src/app.css) as variables, go crazy with them - -the rest is done by editing the css files and style tags directly, good luck +currently the only way to theme the app is to edit css in the components directly, glhf relevant files: diff --git a/config.ts b/config.ts index 8d09cf6..0dc01b0 100644 --- a/config.ts +++ b/config.ts @@ -24,10 +24,11 @@ export class Config { static readonly MAX_POSTS: number = 20; /** - * Footer text for the dashboard, you probably want to change this + * Footer text for the dashboard + * @default "Astrally projected from witchcraft.systems" */ static readonly FOOTER_TEXT: string = - "Astrally projected from witchcraft.systems

Source (github mirror)"; + "Astrally projected from witchcraft.systems"; /** * Whether to show the posts that are in the future diff --git a/src/App.svelte b/src/App.svelte index 733320e..9e36d30 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -16,11 +16,7 @@ }); }); // Infinite loading function - const onInfinite = ({ - detail: { loaded, complete }, - }: { - detail: { loaded: () => void; complete: () => void }; - }) => { + const onInfinite = ({ detail: { loaded, complete } } : { detail : { loaded : () => void, complete : () => void}}) => { getNextPosts().then((newPosts) => { console.log("Loading next posts..."); if (newPosts.length > 0) { @@ -57,7 +53,9 @@ {#each posts as postObject} {/each} - +
diff --git a/src/lib/PostComponent.svelte b/src/lib/PostComponent.svelte index dc0b874..3c4178c 100644 --- a/src/lib/PostComponent.svelte +++ b/src/lib/PostComponent.svelte @@ -213,10 +213,6 @@ #postText { margin: 0; padding: 0; - overflow-wrap: break-word; - word-wrap: normal; - word-break: break-word; - hyphens: none; } #headerText { margin-left: 10px;