mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 20:27:43 +00:00
Fix: Features card overflow
This commit is contained in:
@@ -77,7 +77,7 @@ const features = [
|
|||||||
"Pull secrets into your Kubernetes containers and automatically redeploy upon secret changes."
|
"Pull secrets into your Kubernetes containers and automatically redeploy upon secret changes."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
_id: 1,
|
id: 1,
|
||||||
name: "Infisical Agent",
|
name: "Infisical Agent",
|
||||||
link: "https://infisical.com/docs/infisical-agent/overview",
|
link: "https://infisical.com/docs/infisical-agent/overview",
|
||||||
description: "Inject secrets into your apps without modifying any application logic."
|
description: "Inject secrets into your apps without modifying any application logic."
|
||||||
@@ -889,27 +889,27 @@ const OrganizationPage = withPermission(
|
|||||||
<div className="mt-4 grid w-full grid-cols-3 gap-4">
|
<div className="mt-4 grid w-full grid-cols-3 gap-4">
|
||||||
{features.map((feature) => (
|
{features.map((feature) => (
|
||||||
<div
|
<div
|
||||||
key={feature._id}
|
key={feature.id}
|
||||||
className="flex h-44 w-full flex-col justify-between rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4"
|
className="relative flex h-full w-full flex-col gap-2 overflow-auto rounded-md border border-mineshaft-600 bg-mineshaft-800 p-4"
|
||||||
>
|
>
|
||||||
<div className="mt-0 text-lg text-mineshaft-100">{feature.name}</div>
|
<div className="mt-0 text-lg text-mineshaft-100">{feature.name}</div>
|
||||||
<div className="mb-4 mt-2 text-[15px] font-light text-mineshaft-300">
|
<div className="line-clamp overflwo-auto mb-4 mt-2 h-full text-[15px] font-light text-mineshaft-300">
|
||||||
{feature.description}
|
{feature.description}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex w-full items-center">
|
<div className="flex w-full flex-col items-start gap-2 xl:flex-row xl:items-center">
|
||||||
<div className="text-[15px] font-light text-mineshaft-300">
|
<p className="left-0 text-[15px] font-light text-mineshaft-300">
|
||||||
Setup time: 20 min
|
Setup time: 20 min
|
||||||
</div>
|
</p>
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="group ml-auto w-max cursor-default rounded-full border border-mineshaft-600 bg-mineshaft-900 py-2 px-4 text-sm text-mineshaft-300 transition-all hover:border-primary-500/80 hover:bg-primary-800/20 hover:text-mineshaft-200"
|
className="group ml-0 w-max cursor-default rounded-full border border-mineshaft-600 bg-mineshaft-900 py-2 px-4 text-sm text-mineshaft-300 transition-all hover:border-primary-500/80 hover:bg-primary-800/20 hover:text-mineshaft-200 xl:ml-auto"
|
||||||
href={feature.link}
|
href={feature.link}
|
||||||
>
|
>
|
||||||
Learn more{" "}
|
Learn more{" "}
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
icon={faArrowRight}
|
icon={faArrowRight}
|
||||||
className="pl-1.5 pr-0.5 duration-200 group-hover:pl-2 group-hover:pr-0"
|
className="s pl-1.5 pr-0.5 duration-200 group-hover:pl-2 group-hover:pr-0"
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user