feat: add node minimizing animation (refactoring it later)
This commit is contained in:
parent
21009761f0
commit
d44365578d
3 changed files with 10 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ class AuthSettings(BaseSettings):
|
||||||
|
|
||||||
# If AUTO_LOGIN = True
|
# If AUTO_LOGIN = True
|
||||||
# > The application does not request login and logs in automatically as a super user.
|
# > The application does not request login and logs in automatically as a super user.
|
||||||
AUTO_LOGIN: bool = False
|
AUTO_LOGIN: bool = True
|
||||||
FIRST_SUPERUSER: str = "langflow"
|
FIRST_SUPERUSER: str = "langflow"
|
||||||
FIRST_SUPERUSER_PASSWORD: str = "langflow"
|
FIRST_SUPERUSER_PASSWORD: str = "langflow"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,13 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.react-flow__node {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
border-radius: auto;
|
||||||
|
min-width: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.App-logo {
|
.App-logo {
|
||||||
height: 40vmin;
|
height: 40vmin;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,8 @@ export default function GenericNode({
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
selected ? "border border-ring" : "border",
|
selected ? "border border-ring" : "border",
|
||||||
showNode ? "w-96" : "w-26 h-26 rounded-full",
|
" transition-all ",
|
||||||
|
showNode ? " w-96 duration-500 ease-in-out scale-100" : "transform-width w-26 h-26 rounded-full scale-50",
|
||||||
"generic-node-div",
|
"generic-node-div",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue