Skip to content

Commit

Permalink
[5.x] Fix rounded corners in asset fields (#10624)
Browse files Browse the repository at this point in the history
  • Loading branch information
daun authored Aug 13, 2024
1 parent 3b69981 commit 80b9e93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions resources/css/components/assets.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@

}

.assets-fieldtype-picker + .asset-table-listing {
@apply rounded-t-none;
}

.asset-listing .actions {
margin-bottom: 15px;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
:animate="false"
append-to="body"
>
<div class="asset-grid-listing border dark:border-dark-900 rounded overflow-hidden rounded-t-none" ref="assets">
<div class="asset-grid-listing border dark:border-dark-900 rounded overflow-hidden" :class="{ 'rounded-t-none': !isReadOnly && (showPicker || uploads.length) }" ref="assets">
<asset-tile
v-for="asset in assets"
:key="asset.id"
Expand Down

0 comments on commit 80b9e93

Please sign in to comment.