diff --git a/packages/standard-components/src/DataGrid/AttachmentCell/Button.svelte b/packages/standard-components/src/DataGrid/AttachmentCell/Button.svelte
index 139ffe02aa..12f3cc8e9f 100644
--- a/packages/standard-components/src/DataGrid/AttachmentCell/Button.svelte
+++ b/packages/standard-components/src/DataGrid/AttachmentCell/Button.svelte
@@ -3,4 +3,4 @@
export let files
-
\ No newline at end of file
+
diff --git a/packages/standard-components/src/DataGrid/Component.svelte b/packages/standard-components/src/DataGrid/Component.svelte
index 0d86808961..2fb32ffcdd 100644
--- a/packages/standard-components/src/DataGrid/Component.svelte
+++ b/packages/standard-components/src/DataGrid/Component.svelte
@@ -12,7 +12,12 @@
import AgGrid from "@budibase/svelte-ag-grid"
import CreateRowButton from "./CreateRow/Button.svelte"
- import { TextButton as DeleteButton, Icon, Modal, ModalContent } from "@budibase/bbui"
+ import {
+ TextButton as DeleteButton,
+ Icon,
+ Modal,
+ ModalContent,
+ } from "@budibase/bbui"
export let _bb
export let datasource = {}
@@ -25,7 +30,7 @@
let canEdit = editable && datasource && datasource.type !== "view"
let canAddDelete = editable && datasource && datasource.type === "table"
- let modal;
+ let modal
let store = _bb.store
let dataLoaded = false
@@ -153,7 +158,10 @@
on:select={({ detail }) => (selectedRows = detail)} />
{/if}
-
+
Are you sure you want to delete {selectedRows.length} row(s)?
diff --git a/packages/standard-components/src/attachments/AttachmentList.svelte b/packages/standard-components/src/attachments/AttachmentList.svelte
index e52eeef5a7..9d9b96246d 100644
--- a/packages/standard-components/src/attachments/AttachmentList.svelte
+++ b/packages/standard-components/src/attachments/AttachmentList.svelte
@@ -1,6 +1,6 @@
@@ -31,12 +31,19 @@
{:else}{/if}
{file.name}
-
+
+
+
{/each}
-
+
Are you sure you want to delete this attachment?
@@ -67,7 +74,7 @@
position: relative;
}
- button {
+ button {
display: block;
box-sizing: border-box;
position: absolute;
@@ -85,18 +92,18 @@
border-radius: var(--border-radius-xl);
background: black;
transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1),
- background 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
+ background 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
-webkit-appearance: none;
outline: none;
- }
- button:hover {
- background-color: var(--grey-8);
- cursor: pointer;
- }
- button:active {
- background-color: var(--grey-9);
- cursor: pointer;
- }
+ }
+ button:hover {
+ background-color: var(--grey-8);
+ cursor: pointer;
+ }
+ button:active {
+ background-color: var(--grey-9);
+ cursor: pointer;
+ }
.file {
position: relative;