Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

feat: remove bottom bar in dashboard Excel preview

Marc Seitz1ab2d73215af
diff --git a/components/documents/preview-viewers/preview-excel-viewer.tsx b/components/documents/preview-viewers/preview-excel-viewer.tsx
index e8ff592f..d81918de 100644
--- a/components/documents/preview-viewers/preview-excel-viewer.tsx
+++ b/components/documents/preview-viewers/preview-excel-viewer.tsx
@@ -43,7 +43,7 @@ export function PreviewExcelViewer({
)}
{/* Office Online iframe */}
- <div className="h-full w-full pt-14 pb-2 px-2">
+ <div className="relative h-full w-full px-2 pb-2 pt-14">
<iframe
className={cn(
"h-full w-full rounded-md transition-opacity duration-200",
@@ -52,6 +52,7 @@ export function PreviewExcelViewer({
src={embedUrl}
onLoad={() => setIframeLoaded(true)}
/>
+ <div className="absolute bottom-2 left-2 right-2 z-50 h-[26px] rounded-b-md bg-gray-900" />
</div>
</div>
);