diff --git a/src/components/BiohazardDialog.svelte b/src/components/BiohazardDialog.svelte index 565a1d1..d87296d 100644 --- a/src/components/BiohazardDialog.svelte +++ b/src/components/BiohazardDialog.svelte @@ -48,12 +48,12 @@ width: 400px; } - p.submit { + :global(.dialog) p.submit { margin-top: 40px; margin-bottom: 20px; } - input[type="submit"] { + :global(.dialog) input[type="submit"] { width: 180px; margin-left: 5px; margin-right: 5px; diff --git a/src/components/RichTextFromFacets.svelte b/src/components/RichTextFromFacets.svelte index 52755f3..8549682 100644 --- a/src/components/RichTextFromFacets.svelte +++ b/src/components/RichTextFromFacets.svelte @@ -19,8 +19,7 @@ {@const lines = segment.text.split("\n")} {#each lines as line, i} - {#if i > 0}
{/if} - {line} + {#if i > 0}
{/if}{line} {/each} {/if} {/each} diff --git a/src/components/embeds/EmbedComponent.svelte b/src/components/embeds/EmbedComponent.svelte index ce055e7..fa5d44a 100644 --- a/src/components/embeds/EmbedComponent.svelte +++ b/src/components/embeds/EmbedComponent.svelte @@ -86,6 +86,7 @@ margin-top: 8px; margin-bottom: 4px; line-height: 135%; + white-space: pre-line; } a.link-card.record > div:has(.avatar) { @@ -98,7 +99,10 @@ a.link-card.record .handle { color: #666; - margin-left: 5px; + margin-left: 1px; + font-weight: normal; + font-size: 11pt; + vertical-align: text-top; } a.link-card.record .avatar { @@ -114,9 +118,12 @@ a.link-card.record .stats { margin-top: 9px; margin-bottom: 1px; + font-size: 10pt; + color: #666; } - a.link-card.record .stats i.fa-heart:hover { + a.link-card.record .stats i.fa-heart { + font-size: 9pt; color: #aaa; } } @@ -152,10 +159,6 @@ a.link-card.record .avatar { border-color: #888; } - - a.link-card.record .stats i.fa-heart:hover { - color: #eee; - } } } diff --git a/src/components/posts/PostComponent.svelte b/src/components/posts/PostComponent.svelte index 05d361a..b085ccd 100644 --- a/src/components/posts/PostComponent.svelte +++ b/src/components/posts/PostComponent.svelte @@ -187,7 +187,7 @@