Skip to content

Commit

Permalink
Bump versions and fix editor sidebar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
JhumanJ committed Nov 20, 2024
1 parent ab83aa1 commit 3dd36c8
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 137 deletions.
1 change: 0 additions & 1 deletion client/components/open/forms/OpenForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
filter=".not-draggable"
:animation="200"
:disabled="!adminPreview"
handle=".handle"
@change="handleDragDropped"
>
<template #item="{element}">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<template>
<div>
<div class="p-4 border-b border-gray-300 sticky top-0 z-10 bg-white">
<div class="flex">
<button
class="text-gray-500 hover:text-gray-900 cursor-pointer"
<div class="p-2 border-b border-gray-300 sticky top-0 z-10 bg-white">
<div class="flex items-center">
<UButton
size="sm"
color="gray"
icon="i-heroicons-x-mark-20-solid"
variant="ghost"
@click="closeSidebar"
>
<Icon
name="heroicons:x-mark-20-solid"
class="inline w-6 h-6"
/>
</button>
/>
<div class="font-medium inline ml-2 flex-grow truncate">
Add Block
</div>
Expand Down
34 changes: 15 additions & 19 deletions client/components/open/forms/fields/FormFieldEdit.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
<template>
<div>
<div class="px-4 py-2 border-b sticky top-0 z-10 bg-white">
<button
<div class="p-2 border-b sticky top-0 z-10 bg-white">
<UButton
v-if="!field"
class="text-gray-500 hover:text-gray-900 cursor-pointer"
@click.prevent="closeSidebar"
>
<Icon
name="heroicons:x-mark-solid"
class="h-6 w-6"
/>
</button>
size="sm"
color="gray"
icon="i-heroicons-x-mark-20-solid"
variant="ghost"
@click="closeSidebar"
/>
<template v-else>
<div class="flex">
<button
class="text-gray-500 hover:text-gray-900 cursor-pointer"
@click.prevent="closeSidebar"
>
<Icon
name="heroicons:x-mark-solid"
class="h-6 w-6"
/>
</button>
<UButton
size="sm"
color="gray"
icon="i-heroicons-x-mark-20-solid"
variant="ghost"
@click="closeSidebar"
/>
<div class="ml-2 flex flex-grow items-center space-between min-w-0 gap-x-3">
<div class="flex-grow" />
<BlockTypeIcon
Expand Down
169 changes: 62 additions & 107 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3dd36c8

Please sign in to comment.