Skip to content

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

fix: banner cover on larger screens

Marc Seitz2ef5cf7d91dc
diff --git a/components/view/dataroom/nav-dataroom.tsx b/components/view/dataroom/nav-dataroom.tsx
index b0d952cb..d2c00184 100644
--- a/components/view/dataroom/nav-dataroom.tsx
+++ b/components/view/dataroom/nav-dataroom.tsx
@@ -206,7 +206,7 @@ export default function DataroomNav({
{/* Banner section */}
<div className="relative h-[20vh] sm:h-auto sm:max-h-80">
<img
- className="h-full w-full object-cover sm:max-h-80 sm:object-contain"
+ className="h-full w-full object-cover sm:max-h-80 sm:object-contain xl:object-cover"
src={brand?.banner || DEFAULT_BANNER_IMAGE}
alt="Banner"
width={1920}