mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-14 10:08:15 +02:00
minor collection ui adjustments
This commit is contained in:
1 parent
361cfb56b7
commit
82abd7e0b0
34 files changed
+89
-77
No files matched your search
@@ -1,5 +1,6 @@
|
||||
<script>
|
||||
import { createEventDispatcher } from "svelte";
|
||||
import { slide } from "svelte/transition";
|
||||
import { SchemaField } from "pocketbase";
|
||||
import CommonHelper from "@/utils/CommonHelper";
|
||||
import tooltip from "@/actions/tooltip";
|
||||
@@ -73,6 +74,7 @@
|
||||
draggable={true}
|
||||
class="schema-field"
|
||||
class:drag-over={isDragOver}
|
||||
transition:slide|local={{ duration: 150 }}
|
||||
on:dragstart={(e) => {
|
||||
if (!e.target.classList.contains("drag-handle-wrapper")) {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in new issue
Block a user