feat: add flowpage constants classes

This commit is contained in:
Igor Carvalho 2023-07-04 20:30:03 -03:00
commit 04c3cb2d4e
2 changed files with 17 additions and 3 deletions

View file

@ -239,4 +239,18 @@ The cursor: default; property value restores the browser's default cursor style
.components-disclosure-div {
@apply flex gap-2
}
.flow-page-positioning {
@apply h-full w-full overflow-hidden
}
.logspace-page-icon {
@apply absolute bottom-2 left-7 flex h-6 cursor-pointer flex-col items-center justify-start overflow-hidden rounded-lg bg-foreground px-2 text-center font-sans text-xs tracking-wide text-secondary transition-all duration-500 ease-in-out
}
.logspace-page-icon:hover {
@apply hover:h-12
}
.logspace-icon-text {
@apply mt-1
}
}

View file

@ -20,7 +20,7 @@ export default function FlowPage() {
}, []);
return (
<div className="h-full w-full overflow-hidden">
<div className="flow-page-positioning">
{flows.length > 0 &&
tabId !== "" &&
flows.findIndex((flow) => flow.id === tabId) !== -1 && (
@ -29,9 +29,9 @@ export default function FlowPage() {
<a
target={"_blank"}
href="https://logspace.ai/"
className="absolute bottom-2 left-7 flex h-6 cursor-pointer flex-col items-center justify-start overflow-hidden rounded-lg bg-foreground px-2 text-center font-sans text-xs tracking-wide text-secondary transition-all duration-500 ease-in-out hover:h-12"
className="logspace-page-icon"
>
{version && <div className="mt-1"> LangFlow v{version}</div>}
{version && <div className="logspace-icon-text"> LangFlow v{version}</div>}
<div className={version ? "mt-2" : "mt-1"}>Created by Logspace</div>
</a>
</div>