Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions components/vault/VaultHostListSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export function VaultHostListSection({ ctx }: { ctx: VaultHostListSectionContext
hostCardFocusClassName(viewMode, isHostFocusSelected(host.id)),
)
: cn(
"h-14 px-2 py-2 rounded-lg transition-colors",
"h-14 max-w-[480px] px-2 py-2 rounded-lg transition-colors",
isHostFocusSelected(host.id)
? hostCardFocusClassName("list", true)
: "hover:bg-secondary/60",
Expand Down Expand Up @@ -640,7 +640,7 @@ export function VaultHostListSection({ ctx }: { ctx: VaultHostListSectionContext
hostCardFocusClassName(viewMode, isHostFocusSelected(host.id)),
)
: cn(
"h-14 px-2 py-2 rounded-lg transition-colors",
"h-14 max-w-[480px] px-2 py-2 rounded-lg transition-colors",
isHostFocusSelected(host.id)
? hostCardFocusClassName("list", true)
: "hover:bg-secondary/60",
Expand Down Expand Up @@ -777,7 +777,7 @@ export function VaultHostListSection({ ctx }: { ctx: VaultHostListSectionContext
),
)
: cn(
"h-14 px-2 py-2 rounded-lg transition-colors",
"h-14 max-w-[480px] px-2 py-2 rounded-lg transition-colors",
isGroupFocusSelected(node.path) || multiSelectedGroupPaths.has(node.path)
? hostCardFocusClassName("list", true)
: "hover:bg-secondary/60",
Expand Down Expand Up @@ -1005,7 +1005,7 @@ export function VaultHostListSection({ ctx }: { ctx: VaultHostListSectionContext
hostCardFocusClassName(viewMode, isHostFocusSelected(host.id)),
)
: cn(
"h-14 px-2 py-2 rounded-lg transition-colors",
"h-14 max-w-[480px] px-2 py-2 rounded-lg transition-colors",
isHostFocusSelected(host.id)
? hostCardFocusClassName("list", true)
: "hover:bg-secondary/60",
Expand Down Expand Up @@ -1154,7 +1154,7 @@ export function VaultHostListSection({ ctx }: { ctx: VaultHostListSectionContext
hostCardFocusClassName(viewMode, isHostFocusSelected(host.id)),
)
: cn(
"h-14 px-2 py-2 rounded-lg transition-colors",
"h-14 max-w-[480px] px-2 py-2 rounded-lg transition-colors",
isHostFocusSelected(host.id)
? hostCardFocusClassName("list", true)
: "hover:bg-secondary/60",
Expand Down
4 changes: 2 additions & 2 deletions components/vault/VaultTreeRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const VaultTreeGroupRow: React.FC<VaultTreeGroupRowProps> = ({
<div
ref={rowRef}
className={cn(
"vault-drop-indicator-row group flex h-7 min-w-0 items-center px-2 text-sm font-medium cursor-pointer transition-colors select-none rounded-md",
"vault-drop-indicator-row group flex h-7 max-w-[480px] min-w-0 items-center px-2 text-sm font-medium cursor-pointer transition-colors select-none rounded-md",
selected
? "bg-secondary text-foreground"
: "hover:bg-secondary/60",
Expand Down Expand Up @@ -214,7 +214,7 @@ export const VaultTreeItemRow: React.FC<VaultTreeItemRowProps> = ({
}) => (
<div
className={cn(
"vault-drop-indicator-row group flex h-7 min-w-0 items-center px-2 text-sm cursor-pointer transition-colors select-none rounded-md",
"vault-drop-indicator-row group flex h-7 max-w-[480px] min-w-0 items-center px-2 text-sm cursor-pointer transition-colors select-none rounded-md",
selected
? "bg-secondary text-foreground"
: "hover:bg-secondary/40",
Expand Down
Loading