@stevederico/skateboard-ui 2.9.2 → 2.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/layout/Sidebar.jsx +5 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/layout/Sidebar.jsx
CHANGED
|
@@ -42,21 +42,20 @@ export default function Sidebar({ variant = "inset", ...props }) {
|
|
|
42
42
|
<SidebarRoot collapsible="icon" variant={variant} {...props}>
|
|
43
43
|
{/* Header: App icon + name */}
|
|
44
44
|
{!constants.hideSidebarHeader && (
|
|
45
|
-
<SidebarHeader className="
|
|
45
|
+
<SidebarHeader className="p-2">
|
|
46
46
|
<SidebarMenu>
|
|
47
47
|
<SidebarMenuItem>
|
|
48
48
|
<SidebarMenuButton
|
|
49
|
-
size="
|
|
49
|
+
size="sm"
|
|
50
50
|
onClick={() => navigate("/app")}
|
|
51
51
|
tooltip={constants.appName}
|
|
52
|
-
className="hover:bg-transparent active:bg-transparent
|
|
52
|
+
className="hover:bg-transparent active:bg-transparent"
|
|
53
53
|
>
|
|
54
|
-
<div className="bg-app
|
|
54
|
+
<div className="bg-app flex items-center justify-center shrink-0 rounded-lg size-8 -ml-2">
|
|
55
55
|
<DynamicIcon
|
|
56
56
|
name={constants.appIcon}
|
|
57
|
-
size={20}
|
|
58
|
-
color="white"
|
|
59
57
|
strokeWidth={2}
|
|
58
|
+
className="text-white"
|
|
60
59
|
/>
|
|
61
60
|
</div>
|
|
62
61
|
<span className="font-semibold text-lg shrink min-w-0 truncate">
|