Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
chore: improvements
Marc Seitzb486b355542a
diff --git a/components/links/link-sheet/domain-section.tsx b/components/links/link-sheet/domain-section.tsxindex 9e3f4f3b..5fa4b97e 100644--- a/components/links/link-sheet/domain-section.tsx+++ b/components/links/link-sheet/domain-section.tsx@@ -49,12 +49,9 @@ export default function DomainSection({// Check plan eligibility for custom domainsconst canUseCustomDomainForDocument =- isBusiness ||- isDatarooms ||- isDataroomsPlus ||- (limits && limits.customDomainOnPro);+ isBusiness || isDatarooms || isDataroomsPlus || limits?.customDomainOnPro;const canUseCustomDomainForDataroom =- isDatarooms || isDataroomsPlus || (limits && limits.customDomainInDataroom);+ isDatarooms || isDataroomsPlus || limits?.customDomainInDataroom;// Check if we're editing a link with a custom domainconst isEditingCustomDomain =diff --git a/styles/custom-viewer-styles.css b/styles/custom-viewer-styles.cssindex ff9c21ae..00f5206c 100644--- a/styles/custom-viewer-styles.css+++ b/styles/custom-viewer-styles.css@@ -2,7 +2,6 @@/* Prevent long-press context menu on mobile */-webkit-touch-callout: none;-webkit-user-select: none;- -khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;@@ -12,22 +11,15 @@/* Disable pointer events for saving */pointer-events: auto;-- /* Prevent context menu */- -webkit-context-menu: none;}.viewer-image-mobile {-webkit-user-drag: none !important;-webkit-user-select: none !important;- -khtml-user-select: none !important;- -moz-user-select: none !important;- -webkit-touch-callout: none !important;- -webkit-user-select: none !important;- -khtml-user-select: none !important;-moz-user-select: none !important;-ms-user-select: none !important;user-select: none !important;+ -webkit-touch-callout: none !important;-webkit-tap-highlight-color: transparent !important;pointer-events: auto !important;}