mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 00:36:38 +00:00
remove top border from dialog
This commit is contained in:
@@ -2,7 +2,8 @@ import path from "path";
|
|||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
|
|
||||||
// This is a placeholder value replaced by the build process
|
// This is a placeholder value replaced by the build process
|
||||||
export const APP_VERSION = "1.13.0-rc.0";
|
// export const APP_VERSION = "1.13.0-rc.0";
|
||||||
|
export const APP_VERSION = "1.13.0";
|
||||||
|
|
||||||
export const __FILENAME = fileURLToPath(import.meta.url);
|
export const __FILENAME = fileURLToPath(import.meta.url);
|
||||||
export const __DIRNAME = path.dirname(__FILENAME);
|
export const __DIRNAME = path.dirname(__FILENAME);
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ const CredenzaHeader = ({ className, children, ...props }: CredenzaProps) => {
|
|||||||
const CredenzaHeader = isDesktop ? DialogHeader : SheetHeader;
|
const CredenzaHeader = isDesktop ? DialogHeader : SheetHeader;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CredenzaHeader className={cn("-mx-6 px-6 pb-6 border-b border-border", className)} {...props}>
|
<CredenzaHeader className={cn("-mx-6 px-6", className)} {...props}>
|
||||||
{children}
|
{children}
|
||||||
</CredenzaHeader>
|
</CredenzaHeader>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ const DialogTitle = React.forwardRef<
|
|||||||
<DialogPrimitive.Title
|
<DialogPrimitive.Title
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn(
|
className={cn(
|
||||||
"text-xl font-semibold leading-none tracking-tight",
|
"text-lg font-semibold leading-none tracking-tight",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
Reference in New Issue
Block a user