From 3e9fb62e4ec991ff203ee7a411ab97250eaea18e Mon Sep 17 00:00:00 2001 From: corgifist Date: Sun, 27 Jul 2025 15:56:36 +0300 Subject: [PATCH] fixed sheet and dashboard paddings (third time) --- src/components/ui/sheet.tsx | 2 +- src/components/ui/sidebar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ui/sheet.tsx b/src/components/ui/sheet.tsx index 03040a9..404a713 100644 --- a/src/components/ui/sheet.tsx +++ b/src/components/ui/sheet.tsx @@ -67,7 +67,7 @@ function SheetContent({ "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", - "pl-safe-or-2 pb-safe-or-2 gap-1", + "px-safe-or-2 pb-safe-or-2 gap-1", className, )} {...props} diff --git a/src/components/ui/sidebar.tsx b/src/components/ui/sidebar.tsx index 2f73f66..e413045 100644 --- a/src/components/ui/sidebar.tsx +++ b/src/components/ui/sidebar.tsx @@ -187,7 +187,7 @@ function Sidebar({ data-sidebar="sidebar" data-slot="sidebar" data-mobile="true" - className={cn("bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden", className)} + className={cn("bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden pr-0", className)} style={ { "--sidebar-width": SIDEBAR_WIDTH_MOBILE,