Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: notion icon and page size width
Marc Seitz9f34cac70da4
diff --git a/styles/custom-notion-styles.css b/styles/custom-notion-styles.cssindex a31909da..cff993b7 100644--- a/styles/custom-notion-styles.css+++ b/styles/custom-notion-styles.css@@ -72,12 +72,16 @@ textarea,}/* Prevent page-level horizontal overflow */-.notion-page,.notion-frame {max-width: 100%;overflow-x: hidden;}+/* Allow notion-page to show icon without clipping, content handles its own overflow */+.notion-page {+ max-width: 100%;+}+.notion-page-content {max-width: 100%;overflow-x: hidden;@@ -149,11 +153,14 @@ textarea,/* Prevent body/html from scrolling horizontally */.notion-app,- .notion-frame,- .notion-page {+ .notion-frame {max-width: 100vw;overflow-x: hidden;}++ .notion-page {+ max-width: 100vw;+ }}.notion-hr {@@ -186,11 +193,25 @@ textarea,text-decoration: none;}-/* Align page hero icon to the left */+/* Ensure the cover wrapper doesn't clip the icon */+.notion-page-cover-wrapper {+ overflow: visible !important;+}++/* Style page icon like actual Notion - overlapping cover, aligned with content */.notion-page-icon-hero {+ margin-top: -70px !important;+ margin-left: 0 !important;left: 0 !important;justify-content: flex-start !important;transform: none !important;+ overflow: visible !important;+ position: relative;+ z-index: 10;+}++.notion-page-icon-hero.notion-page-icon-image {+ overflow: visible !important;}/* Only show arrows on page icons within clickable links */