mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-08 13:38:33 +02:00
Merge branch 'dev' of github.com:fosrl/pangolin into dev
This commit is contained in:
+1
-1
@@ -3549,7 +3549,7 @@
|
|||||||
"sshPrivateKeyDisclaimer": "Your private key is not stored or visible to Pangolin. Alternatively, you can use short-lived certificates for seamless authentication using your existing Pangolin identity.",
|
"sshPrivateKeyDisclaimer": "Your private key is not stored or visible to Pangolin. Alternatively, you can use short-lived certificates for seamless authentication using your existing Pangolin identity.",
|
||||||
"sshLearnMore": "Learn more",
|
"sshLearnMore": "Learn more",
|
||||||
"sshPrivateKeyFile": "Private Key File",
|
"sshPrivateKeyFile": "Private Key File",
|
||||||
"sshAuthenticate": "Authenticate",
|
"sshAuthenticate": "Connect",
|
||||||
"sshTerminate": "Terminate",
|
"sshTerminate": "Terminate",
|
||||||
"sshPoweredBy": "Powered by",
|
"sshPoweredBy": "Powered by",
|
||||||
"sshErrorNoTarget": "No target specified",
|
"sshErrorNoTarget": "No target specified",
|
||||||
|
|||||||
@@ -42,16 +42,16 @@ export function MultiSelectTagInput<T extends TagValue>({
|
|||||||
buttonVariants({
|
buttonVariants({
|
||||||
variant: "outline"
|
variant: "outline"
|
||||||
}),
|
}),
|
||||||
"justify-between w-full inline-flex",
|
"justify-between w-full flex items-center",
|
||||||
"text-muted-foreground pl-1.5 cursor-text h-9 py-0",
|
"text-muted-foreground pl-1.5 cursor-text h-auto min-h-9 py-1.5",
|
||||||
|
"whitespace-normal",
|
||||||
"hover:bg-transparent hover:text-muted-foreground",
|
"hover:bg-transparent hover:text-muted-foreground",
|
||||||
props.disabled && "pointer-events-none opacity-50"
|
props.disabled && "pointer-events-none opacity-50"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
className={cn(
|
className={cn(
|
||||||
"inline-flex items-center gap-1 min-w-0 flex-1",
|
"flex items-center gap-1 min-w-0 flex-1 flex-wrap"
|
||||||
"overflow-x-auto flex-nowrap h-full"
|
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{props.value.map((option) => {
|
{props.value.map((option) => {
|
||||||
@@ -60,15 +60,13 @@ export function MultiSelectTagInput<T extends TagValue>({
|
|||||||
<span
|
<span
|
||||||
key={option.id}
|
key={option.id}
|
||||||
className={cn(
|
className={cn(
|
||||||
"bg-muted-foreground/10 font-normal text-foreground rounded-sm flex-none",
|
"bg-muted-foreground/10 font-normal text-foreground rounded-sm shrink-0",
|
||||||
"py-0.5 pl-1.5 pr-0.5 text-xs inline-flex items-center gap-0.5",
|
"py-0.5 pl-1.5 pr-0.5 text-xs inline-flex items-center gap-0.5 whitespace-nowrap",
|
||||||
isLocked && "opacity-60"
|
isLocked && "opacity-60"
|
||||||
)}
|
)}
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
>
|
>
|
||||||
<span className="max-w-40 text-ellipsis overflow-hidden">
|
<span>{option.text}</span>
|
||||||
{option.text}
|
|
||||||
</span>
|
|
||||||
{isLocked ? (
|
{isLocked ? (
|
||||||
<span className="p-0.5 flex-none">
|
<span className="p-0.5 flex-none">
|
||||||
<LockIcon className="size-3" />
|
<LockIcon className="size-3" />
|
||||||
|
|||||||
Reference in New Issue
Block a user