Add ShadTooltip component and update styling in exampleComponent and MainPage
This commit is contained in:
parent
a2dfadcf4a
commit
6af16272fd
2 changed files with 22 additions and 20 deletions
|
|
@ -53,7 +53,9 @@ export default function CollectionCardComponent({
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
</div>
|
</div>
|
||||||
<CardDescription className="pb-2 pt-2">
|
<CardDescription className="pb-2 pt-2">
|
||||||
|
<ShadTooltip side="bottom" styleClasses="z-50" content={flow.description}>
|
||||||
<div className="truncate-doubleline">{flow.description}</div>
|
<div className="truncate-doubleline">{flow.description}</div>
|
||||||
|
</ShadTooltip>
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ export default function HomePage(): JSX.Element {
|
||||||
/>
|
/>
|
||||||
</BaseModal.Header>
|
</BaseModal.Header>
|
||||||
<BaseModal.Content>
|
<BaseModal.Content>
|
||||||
<div className="flex flex-wrap w-full h-full p-4 gap-3">
|
<div className="flex flex-wrap w-full h-full p-4 gap-3 overflow-auto custom-scroll">
|
||||||
{examples.map((example, idx) => {
|
{examples.map((example, idx) => {
|
||||||
return(
|
return(
|
||||||
<ExampleCardComponent key={idx} flow={example} />)
|
<ExampleCardComponent key={idx} flow={example} />)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue