Skip to content

Commit 3dd36c8

Browse files
committed
Bump versions and fix editor sidebar buttons
1 parent ab83aa1 commit 3dd36c8

File tree

4 files changed

+85
-137
lines changed

4 files changed

+85
-137
lines changed

client/components/open/forms/OpenForm.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
filter=".not-draggable"
5858
:animation="200"
5959
:disabled="!adminPreview"
60-
handle=".handle"
6160
@change="handleDragDropped"
6261
>
6362
<template #item="{element}">

client/components/open/forms/components/form-components/AddFormBlock.vue

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<template>
22
<div>
3-
<div class="p-4 border-b border-gray-300 sticky top-0 z-10 bg-white">
4-
<div class="flex">
5-
<button
6-
class="text-gray-500 hover:text-gray-900 cursor-pointer"
3+
<div class="p-2 border-b border-gray-300 sticky top-0 z-10 bg-white">
4+
<div class="flex items-center">
5+
<UButton
6+
size="sm"
7+
color="gray"
8+
icon="i-heroicons-x-mark-20-solid"
9+
variant="ghost"
710
@click="closeSidebar"
8-
>
9-
<Icon
10-
name="heroicons:x-mark-20-solid"
11-
class="inline w-6 h-6"
12-
/>
13-
</button>
11+
/>
1412
<div class="font-medium inline ml-2 flex-grow truncate">
1513
Add Block
1614
</div>

client/components/open/forms/fields/FormFieldEdit.vue

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
11
<template>
22
<div>
3-
<div class="px-4 py-2 border-b sticky top-0 z-10 bg-white">
4-
<button
3+
<div class="p-2 border-b sticky top-0 z-10 bg-white">
4+
<UButton
55
v-if="!field"
6-
class="text-gray-500 hover:text-gray-900 cursor-pointer"
7-
@click.prevent="closeSidebar"
8-
>
9-
<Icon
10-
name="heroicons:x-mark-solid"
11-
class="h-6 w-6"
12-
/>
13-
</button>
6+
size="sm"
7+
color="gray"
8+
icon="i-heroicons-x-mark-20-solid"
9+
variant="ghost"
10+
@click="closeSidebar"
11+
/>
1412
<template v-else>
1513
<div class="flex">
16-
<button
17-
class="text-gray-500 hover:text-gray-900 cursor-pointer"
18-
@click.prevent="closeSidebar"
19-
>
20-
<Icon
21-
name="heroicons:x-mark-solid"
22-
class="h-6 w-6"
23-
/>
24-
</button>
14+
<UButton
15+
size="sm"
16+
color="gray"
17+
icon="i-heroicons-x-mark-20-solid"
18+
variant="ghost"
19+
@click="closeSidebar"
20+
/>
2521
<div class="ml-2 flex flex-grow items-center space-between min-w-0 gap-x-3">
2622
<div class="flex-grow" />
2723
<BlockTypeIcon

client/package-lock.json

Lines changed: 62 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)