mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
button remove default margin
This commit is contained in:
@ -82,6 +82,7 @@ const DocumentsDetailPage: NextPageWithLayout = (props: any) => {
|
|||||||
<Button
|
<Button
|
||||||
icon={PaperAirplaneIcon}
|
icon={PaperAirplaneIcon}
|
||||||
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
||||||
|
className="ml-3"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (
|
if (
|
||||||
confirm(
|
confirm(
|
||||||
|
|||||||
@ -6,7 +6,7 @@ export function Button(props: any) {
|
|||||||
const isLink = typeof props.href !== "undefined";
|
const isLink = typeof props.href !== "undefined";
|
||||||
const { color = "primary", icon, disabled, onClick } = props;
|
const { color = "primary", icon, disabled, onClick } = props;
|
||||||
const baseStyles =
|
const baseStyles =
|
||||||
"ml-3 inline-flex items-center justify-center min-w-[80px] rounded-md border border-transparent px-4 py-2 text-sm font-medium shadow-sm disabled:bg-gray-300";
|
"inline-flex items-center justify-center min-w-[80px] rounded-md border border-transparent px-4 py-2 text-sm font-medium shadow-sm disabled:bg-gray-300";
|
||||||
const primaryStyles = "text-white bg-neon hover:bg-neon-dark";
|
const primaryStyles = "text-white bg-neon hover:bg-neon-dark";
|
||||||
const secondaryStyles =
|
const secondaryStyles =
|
||||||
"border-gray-300 bg-white text-gray-700 hover:bg-gray-50";
|
"border-gray-300 bg-white text-gray-700 hover:bg-gray-50";
|
||||||
|
|||||||
Reference in New Issue
Block a user