Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions resources/js/components/fieldtypes/assets/AssetsFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
>
<div
class="bg-white relative grid gap-4 2xl:gap-10 p-3 relative rounded-xl border border-gray-300 dark:bg-gray-850 dark:border-gray-700"
:class="{ 'border-t-0 rounded-t-none': !isReadOnly && (showPicker || uploads.length) }"
:class="{ 'border-t-0 rounded-t-none': !isReadOnly && (showPicker || uploads.length), 'border-dashed': isReadOnly }"
ref="assets"
style="grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));"
>
Expand All @@ -126,7 +126,7 @@

<div
class="relative overflow-hidden rounded-xl border border-gray-300 dark:border-gray-700"
:class="{ 'not-[.link-fieldtype_&]:border-t-0! not-[.link-fieldtype_&]:rounded-t-none': !isReadOnly && (showPicker || uploads.length) }"
:class="{ 'not-[.link-fieldtype_&]:border-t-0! not-[.link-fieldtype_&]:rounded-t-none': !isReadOnly && (showPicker || uploads.length), 'border-dashed': isReadOnly }"
v-if="displayMode === 'list'"
>
<table class="table-fixed w-full">
Expand Down
Loading