Skip to content
Merged
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
4 changes: 2 additions & 2 deletions frontend/src/components/secrets/SecretsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ export const SecretsList = (props: SecretListProps) => {

{props.secrets.map((secret) => (
<li className="list-row w-full" key={secret.id}>
<button className="btn btn-ghost w-full flex flex-col min-h-fit lg:text-lg p-1"
<button className="btn btn-ghost w-full flex flex-col min-h-fit h-auto lg:text-lg p-1"
onClick={() => props.clickedSecret(secret)}>
<div className="flex flex-col w-screen max-w-full items-start">
<p className="text-semibold truncate max-w-full">{secret.key}</p>
<p className="font-normal italic truncate max-w-full">[{secret.url}]</p>
<div className="flex flex-row gap-2 max-w-full items-center truncate pt-1.5">
{secret.tags.map((tag) => (
<span className="badge badge-neutral badge-xs">{tag}</span>
<span key={tag} className="badge badge-neutral badge-xs">{tag}</span>
))}
</div>
</div>
Expand Down