Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/components/Checkbox.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { classed } from "@tw-classed/react";
import { Icons } from "./Icons";
import { useState } from "react";

type CheckboxType = "checkbox" | "button";
interface CheckboxProps
Expand All @@ -15,7 +14,7 @@ interface CheckboxProps
}

const CheckboxBase = classed.label(
"duration-300 bg-transparent peer-checked:bg-gray-200 w-full flex border border-gray-400 text-sm justify-center items-center rounded-[4px] cursor-pointer py-[18px] overflow-hidden"
"duration-300 bg-transparent peer-checked:bg-gray-200 w-full flex border border-gray-400 text-sm justify-center items-center rounded-[4px] cursor-pointer py-[12px] xs:py-[18px] overflow-hidden"
);

const CheckboxComponent = classed.label(
Expand Down
10 changes: 6 additions & 4 deletions src/pages/users/[id]/share.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const SharePage = () => {
<div>
<AppBackHeader redirectTo="/" />
<FormStepLayout
className="!pt-0"
className="!pt-0 !pb-14"
title={
<span className="text-base text-gray-12 !pb-1">{`Share with ${user.name}`}</span>
}
Expand Down Expand Up @@ -273,9 +273,11 @@ const SharePage = () => {
setPrivateNote(event.target.value);
}}
/>
<Button loading={loading} type="submit">
Share
</Button>
<div className="fixed bottom-0 bg-[#111] right-0 left-0 p-3">
<Button loading={loading} type="submit">
Share
</Button>
</div>
</FormStepLayout>
</div>
);
Expand Down