Skip to content

Commit

Permalink
Fix alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kazcw committed Mar 1, 2024
1 parent b6b437b commit 3bdd736
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const widgetDefinition = defineWidget(ArgumentApplicationKey, {
</div>
<div
v-if="tree.extended || !application.argument.hideByDefault"
class="argument"
:class="{ animateWhenShown: application.argument.hideByDefault }"
>
<NodeWidget :input="application.argument.toWidgetInput()" nest />
Expand Down Expand Up @@ -83,6 +84,12 @@ export const widgetDefinition = defineWidget(ArgumentApplicationKey, {
}
}
.argument {
display: flex;
flex-direction: row;
place-items: center;
}
.animateWhenShown {
animation: show 4800ms 100ms cubic-bezier(0.38, 0.97, 0.56, 0.76) forwards;
max-width: 0;
Expand Down

0 comments on commit 3bdd736

Please sign in to comment.