Skip to content

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

style: add checkered box to logo upload

Marc Seitz0b6594c3c8c9
diff --git a/pages/datarooms/[id]/settings/index.tsx b/pages/datarooms/[id]/settings/index.tsx
index 2c317627..390ce813 100644
--- a/pages/datarooms/[id]/settings/index.tsx
+++ b/pages/datarooms/[id]/settings/index.tsx
@@ -228,6 +228,12 @@ export default function DataroomBrandPage() {
<label
htmlFor="image"
className="group relative mt-1 flex h-[4rem] w-[12rem] cursor-pointer flex-col items-center justify-center rounded-md border border-gray-300 bg-white shadow-sm transition-all hover:bg-gray-50"
+ style={{
+ backgroundImage:
+ "linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%)",
+ backgroundSize: "20px 20px",
+ backgroundPosition: "0 0, 10px 0, 10px -10px, 0px 10px",
+ }}
>
{false && (
<div className="absolute z-[5] flex h-full w-full items-center justify-center rounded-md bg-white">
@@ -332,6 +338,12 @@ export default function DataroomBrandPage() {
<label
htmlFor="banner-image"
className="group relative mt-1 flex h-[4rem] w-[12rem] cursor-pointer flex-col items-center justify-center rounded-md border border-gray-300 bg-white shadow-sm transition-all hover:bg-gray-50"
+ style={{
+ backgroundImage:
+ "linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%)",
+ backgroundSize: "20px 20px",
+ backgroundPosition: "0 0, 10px 0, 10px -10px, 0px 10px",
+ }}
>
{false && (
<div className="absolute z-[5] flex h-full w-full items-center justify-center rounded-md bg-white">
diff --git a/pages/settings/branding.tsx b/pages/settings/branding.tsx
index cbbfa412..a8c7a35b 100644
--- a/pages/settings/branding.tsx
+++ b/pages/settings/branding.tsx
@@ -158,6 +158,12 @@ export default function Branding() {
<label
htmlFor="image"
className="group relative mt-1 flex h-[4rem] w-[12rem] cursor-pointer flex-col items-center justify-center rounded-md border border-gray-300 bg-white shadow-sm transition-all hover:bg-gray-50"
+ style={{
+ backgroundImage:
+ "linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%)",
+ backgroundSize: "20px 20px",
+ backgroundPosition: "0 0, 10px 0, 10px -10px, 0px 10px",
+ }}
>
{false && (
<div className="absolute z-[5] flex h-full w-full items-center justify-center rounded-md bg-white">