Bump versions and fix editor sidebar buttons
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
filter=".not-draggable"
|
||||
:animation="200"
|
||||
:disabled="!adminPreview"
|
||||
handle=".handle"
|
||||
@change="handleDragDropped"
|
||||
>
|
||||
<template #item="{element}">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user