diff --git a/app/components/Popover.tsx b/app/components/Popover.tsx
index 254fff847..275582850 100644
--- a/app/components/Popover.tsx
+++ b/app/components/Popover.tsx
@@ -45,7 +45,8 @@ const Contents = styled.div<{ $shrink?: boolean; $width?: number }>`
background: ${(props) => props.theme.menuBackground};
border-radius: 6px;
padding: ${(props) => (props.$shrink ? "6px 0" : "12px 24px")};
- max-height: 50vh;
+ max-height: 75vh;
+ overflow-x: hidden;
overflow-y: auto;
box-shadow: ${(props) => props.theme.menuShadow};
width: ${(props) => props.$width}px;
diff --git a/app/scenes/Document/components/SharePopover.tsx b/app/scenes/Document/components/SharePopover.tsx
index d64a3f56e..7aa407c26 100644
--- a/app/scenes/Document/components/SharePopover.tsx
+++ b/app/scenes/Document/components/SharePopover.tsx
@@ -5,6 +5,7 @@ import { observer } from "mobx-react";
import { ExpandedIcon, GlobeIcon, PadlockIcon } from "outline-icons";
import * as React from "react";
import { useTranslation, Trans } from "react-i18next";
+import slugify from "slugify";
import styled from "styled-components";
import { SHARE_URL_SLUG_REGEX } from "@shared/utils/urlHelpers";
import Document from "~/models/Document";
@@ -255,31 +256,6 @@ function SharePopover({
{expandedOptions && (
<>
-
-
-
- {!slugValidationError && urlSlug && (
-
-
- The document will be available at
-
-
- {urlSlug ? `${team.url}/s/${urlSlug}` : ""}
-
-
-
- )}
-
+
+
+
+ {!slugValidationError && (
+
+
+ The document will be available at
+
+
+ {`${team.url}/s/${urlSlug || share?.id}`}
+
+
+
+ )}
+
>
)}