Skip to content

Commit

Permalink
change styling buttons on attachment & small changes media library
Browse files Browse the repository at this point in the history
  • Loading branch information
DevolderLouise committed Oct 4, 2023
1 parent ef97239 commit 1298de3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/css/laravel-media.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions resources/css/plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
@apply opacity-0;
}

.attachment__btn-block .fi-icon-btn {
@apply bg-gray-100/90 hover:bg-gray-100 rounded-lg cursor-pointer;
}

.gallery--dragging .sortable-icon {
opacity: 0 !important;
}
Expand Down Expand Up @@ -46,4 +50,13 @@
background: linear-gradient(to bottom, transparent 50%, #e5e7eb 50%);
background-size: 4px 20px;
}

.fi-ta-record .fi-ta-actions {
flex-wrap: wrap !important;
}

.fi-ta-record .fi-ta-text {
word-break: break-word;
}

}
2 changes: 1 addition & 1 deletion resources/views/components/attachment.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class="inline-block"

{{-- Buttons --}}
@unless($isDisabled)
<div class="absolute right-1 bottom-1 left-1 z-10 flex justify-between gap-3">
<div class="absolute right-1 bottom-1 left-1 z-10 flex justify-between gap-3 attachment__btn-block">
@if ($deleteAction && $deleteAction->isVisible())
{{ ($deleteAction)(['attachmentId' => $attachment->id]) }}
@endif
Expand Down

0 comments on commit 1298de3

Please sign in to comment.