diff --git a/public/css/index-tailwind-output.css b/public/css/index-tailwind-output.css index eb467efcb..0fe66ccfd 100644 --- a/public/css/index-tailwind-output.css +++ b/public/css/index-tailwind-output.css @@ -5723,6 +5723,11 @@ svg.apply-fill path { height: calc(2.5rem - 1px); } +.in-markdown p, .in-markdown ol, .in-markdown ul { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + @media (min-width: 640px) { .compass_arrow { width: calc(2.75rem - 1px); @@ -8577,6 +8582,10 @@ svg.apply-fill path { display: none; } + .md\:h-6 { + height: 1.5rem; + } + .md\:h-64 { height: 16rem; } @@ -8637,6 +8646,10 @@ svg.apply-fill path { width: 12rem; } + .md\:w-6 { + width: 1.5rem; + } + .md\:w-6\/12 { width: 50%; } diff --git a/src/UI/Base/Markdown.svelte b/src/UI/Base/Markdown.svelte index 6bc795f61..4db814699 100644 --- a/src/UI/Base/Markdown.svelte +++ b/src/UI/Base/Markdown.svelte @@ -14,5 +14,7 @@ {#if src?.length > 0} - {@html marked.parse(src)} +
+ {@html marked.parse(src)} +
{/if} diff --git a/src/UI/Reviews/SingleReview.svelte b/src/UI/Reviews/SingleReview.svelte index 484a5a6c0..5c1c65117 100644 --- a/src/UI/Reviews/SingleReview.svelte +++ b/src/UI/Reviews/SingleReview.svelte @@ -6,6 +6,8 @@ import Tr from "../Base/Tr.svelte" import { ariaLabel } from "../../Utils/ariaLabel" import ThemeViewState from "../../Models/ThemeViewState" + import Markdown from "../Base/Markdown.svelte" + import AccordionSingle from "../Flowbite/AccordionSingle.svelte" export let state: ThemeViewState = undefined export let review: Review & { @@ -43,6 +45,7 @@

{sub}

{/if} +
- +
{/if} - - {date} - -
-
- {#if review.opinion} - + + + {#if review.opinion} + {/if} + {#if review.metadata.is_affiliated} {/if} diff --git a/src/index.css b/src/index.css index 043c0f974..29f5405d5 100644 --- a/src/index.css +++ b/src/index.css @@ -617,6 +617,11 @@ svg.apply-fill path { height: calc(2.5rem - 1px); } +.in-markdown p, .in-markdown ol, .in-markdown ul { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + @media (min-width: 640px) { .compass_arrow { width: calc(2.75rem - 1px);