fix: Missing space in new child document menu
This commit is contained in:
@@ -34,6 +34,7 @@ function NewChildDocumentMenu({ document, label }: Props) {
|
|||||||
{
|
{
|
||||||
type: "route",
|
type: "route",
|
||||||
title: (
|
title: (
|
||||||
|
<span>
|
||||||
<Trans
|
<Trans
|
||||||
defaults="New document in <em>{{ collectionName }}</em>"
|
defaults="New document in <em>{{ collectionName }}</em>"
|
||||||
values={{
|
values={{
|
||||||
@@ -43,12 +44,14 @@ function NewChildDocumentMenu({ document, label }: Props) {
|
|||||||
em: <strong />,
|
em: <strong />,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
</span>
|
||||||
),
|
),
|
||||||
to: newDocumentPath(document.collectionId),
|
to: newDocumentPath(document.collectionId),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "route",
|
type: "route",
|
||||||
title: (
|
title: (
|
||||||
|
<span>
|
||||||
<Trans
|
<Trans
|
||||||
defaults="New document in <em>{{ collectionName }}</em>"
|
defaults="New document in <em>{{ collectionName }}</em>"
|
||||||
values={{
|
values={{
|
||||||
@@ -58,6 +61,7 @@ function NewChildDocumentMenu({ document, label }: Props) {
|
|||||||
em: <strong />,
|
em: <strong />,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
</span>
|
||||||
),
|
),
|
||||||
to: newDocumentPath(document.collectionId, {
|
to: newDocumentPath(document.collectionId, {
|
||||||
parentDocumentId: document.id,
|
parentDocumentId: document.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user