PR Feeback. Remove X icons in form.

This commit is contained in:
Dean 2024-06-28 09:12:45 +01:00
parent 82f50b565d
commit 16061765ee
1 changed files with 33 additions and 50 deletions

View File

@ -234,7 +234,6 @@
{#each schemaFields || [] as [field, schema]}
{#if !schema.autocolumn && Object.hasOwn(editableFields, field)}
<PropField label={field} fullWidth={isFullWidth(schema.type)}>
<div class="prop-control-wrap">
{#if isTestModal}
<RowSelectorTypes
{isTestModal}
@ -278,16 +277,6 @@
/>
</DrawerBindableSlot>
{/if}
<Icon
hoverable
name="Close"
on:click={() =>
onChange({
row: { [field]: null },
meta: { fields: { [field]: null } },
})}
/>
</div>
</PropField>
{/if}
{/each}
@ -369,12 +358,6 @@
color: var(--spectrum-global-color-gray-500);
}
.prop-control-wrap {
display: grid;
grid-template-columns: 1fr min-content;
gap: var(--spacing-s);
}
/* Override for general json field override */
.prop-control-wrap :global(.icon.json-slot-icon) {
right: 1px !important;