This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import DaysLeft from "./DaysLeft.svelte";
|
||||
import Icon from "./Icon.svelte";
|
||||
import LinkHook from "./LinkHook.svelte";
|
||||
import Markdown from "./Markdown.svelte";
|
||||
|
||||
interface EntryCommon {
|
||||
id: string
|
||||
@@ -50,8 +51,8 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="description">
|
||||
<p>{entry.description}</p>
|
||||
<div class="entry-body">
|
||||
<Markdown source={entry.description} />
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
@@ -98,14 +99,10 @@
|
||||
padding: 0.125em 0;
|
||||
}
|
||||
|
||||
div.description {
|
||||
div.entry-body {
|
||||
padding: 0.25em 1ch;
|
||||
background: #222;
|
||||
color: #aaa;
|
||||
border-bottom-right-radius: 0.5em;
|
||||
}
|
||||
div.description p {
|
||||
padding: 0;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user