@orsetra/shared-ui 1.8.1 → 1.8.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.
|
@@ -133,7 +133,7 @@ export function MainSidebar({
|
|
|
133
133
|
)}>
|
|
134
134
|
{/* Header */}
|
|
135
135
|
<div className={cn(
|
|
136
|
-
"flex items-center h-14
|
|
136
|
+
"flex items-center h-14 bg-white sticky top-0 z-10 flex-shrink-0",
|
|
137
137
|
isMinimized ? "justify-center px-2" : "justify-between px-3 lg:px-4",
|
|
138
138
|
)}>
|
|
139
139
|
{isMinimized ? (
|
|
@@ -173,7 +173,7 @@ export function MainSidebar({
|
|
|
173
173
|
isMinimized ? "justify-center p-2 lg:p-3" : "gap-2 lg:gap-3 px-2 lg:px-3 py-1.5 lg:py-2",
|
|
174
174
|
isActive || isFlyActive
|
|
175
175
|
? "bg-interactive/10 text-interactive border-l-4 border-interactive"
|
|
176
|
-
: "text-text-primary hover:bg-
|
|
176
|
+
: "text-text-primary hover:bg-black/[0.04] border-l-4 border-transparent",
|
|
177
177
|
)
|
|
178
178
|
|
|
179
179
|
const itemContent = (
|