bookish-press 0.4.33 → 0.4.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48,7 +48,7 @@ $: showPlaceholder =
|
|
|
48
48
|
{#each node.getSegments() as segment (segment.nodeID)}
|
|
49
49
|
{#if segment instanceof TextNode}<Text
|
|
50
50
|
node={segment}
|
|
51
|
-
placeholder={node.getSegments().length === 1
|
|
51
|
+
placeholder={showPlaceholder && node.getSegments().length === 1
|
|
52
52
|
? placeholder
|
|
53
53
|
: undefined}
|
|
54
54
|
/>
|
|
@@ -15,7 +15,10 @@ $: credit = node.getCredit();
|
|
|
15
15
|
{/each}
|
|
16
16
|
</blockquote>
|
|
17
17
|
{#if credit}
|
|
18
|
-
<figcaption
|
|
18
|
+
<figcaption
|
|
19
|
+
class="bookish-blockquote-caption {credit.isEmptyText()
|
|
20
|
+
? 'empty'
|
|
21
|
+
: ''}"
|
|
19
22
|
><Format node={credit} placeholder="credit" /></figcaption
|
|
20
23
|
>
|
|
21
24
|
{/if}
|
|
@@ -50,7 +53,7 @@ $: credit = node.getCredit();
|
|
|
50
53
|
color: var(--bookish-muted-color);
|
|
51
54
|
}
|
|
52
55
|
|
|
53
|
-
.bookish-blockquote:before {
|
|
56
|
+
.bookish-blockquote:not(.empty):before {
|
|
54
57
|
content: '\201C';
|
|
55
58
|
position: relative;
|
|
56
59
|
top: 80pt;
|
|
@@ -146,7 +146,7 @@ let darkLabel = '\u263E';
|
|
|
146
146
|
>{previousLabel}</span
|
|
147
147
|
>{/if}
|
|
148
148
|
·
|
|
149
|
-
<Link to={$base}>Home</Link>
|
|
149
|
+
<Link to="{$base}/">Home</Link>
|
|
150
150
|
·
|
|
151
151
|
{#if next !== null}<Link to={$base + next}>{nextLabel}</Link
|
|
152
152
|
>{:else}<span class="outline-header-nav-disabled"
|