This commit is contained in:
Andrew Kingston 2024-12-18 10:51:53 +00:00
parent fadad422a1
commit 87d14ff906
No known key found for this signature in database
4 changed files with 7 additions and 7 deletions

View File

@ -133,7 +133,7 @@
</div> </div>
{#if withActions} {#if withActions}
<div class="@/actions"> <div class="actions">
<slot /> <slot />
</div> </div>
{/if} {/if}

View File

@ -167,7 +167,7 @@
disabled={appDeployed} disabled={appDeployed}
/> />
</div> </div>
<div class="@/actions" class:right={alignActions === "right"}> <div class="actions" class:right={alignActions === "right"}>
{#if !appDeployed} {#if !appDeployed}
<Button <Button
cta cta

View File

@ -123,7 +123,7 @@
obj: actions, obj: actions,
modifiedIndex: index, modifiedIndex: index,
action: "delete", action: "delete",
label: "@/actions", label: "actions",
}) })
} }
@ -175,7 +175,7 @@
action => action.id === e.detail.info.id action => action.id === e.detail.info.id
), ),
action: "move", action: "move",
label: "@/actions", label: "actions",
originalIndex: originalActionIndex, originalIndex: originalActionIndex,
}) })
@ -255,7 +255,7 @@
<DrawerContent> <DrawerContent>
<Layout noPadding gap="S" slot="sidebar"> <Layout noPadding gap="S" slot="sidebar">
{#if showAvailableActions || !actions?.length} {#if showAvailableActions || !actions?.length}
<div class="@/actions-list"> <div class="actions-list">
{#if actions?.length > 0} {#if actions?.length > 0}
<div> <div>
<ActionButton <ActionButton
@ -290,7 +290,7 @@
<Button secondary on:click={toggleActionList}>Add Action</Button> <Button secondary on:click={toggleActionList}>Add Action</Button>
</div> </div>
<div <div
class="@/actions" class="actions"
use:dndzone={{ use:dndzone={{
items: actions, items: actions,
flipDurationMs, flipDurationMs,

View File

@ -102,7 +102,7 @@
<Body size="S">{app.deployed ? "Published" : "Unpublished"}</Body> <Body size="S">{app.deployed ? "Published" : "Unpublished"}</Body>
</div> </div>
<div class="@/actions-wrap"> <div class="actions-wrap">
<div class="app-row-actions"> <div class="app-row-actions">
{#if isBuilder} {#if isBuilder}
<div class="row-action"> <div class="row-action">