Skip to content

Commit

Permalink
Merge pull request #327 from awcodes/fix/nested-modal-styling
Browse files Browse the repository at this point in the history
Fix: nested modal styling
  • Loading branch information
awcodes authored Oct 21, 2023
2 parents 437da4f + 32f75a2 commit e94f17f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions resources/css/plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,31 +68,31 @@
[wire\:key*="open_curator_picker"],
[wire\:key*="open_curation_panel"],
[wire\:key*="filament_tiptap_media"] {
.fi-modal-window {
> .fi-modal-window {
@apply !p-0;

.fi-modal-header {
> .fi-modal-header {
@apply py-2 px-4 border-b border-gray-300 dark:border-gray-800;

.fi-modal-heading {
@apply text-base;
}
}

.fi-modal-close-btn {
margin-block-start: -0.75rem;
.fi-modal-close-btn {
margin-block-start: -0.75rem;

&:hover,
&:focus {
@apply text-primary-500 !bg-transparent;
&:hover,
&:focus {
@apply text-primary-500 !bg-transparent;
}
}
}

.fi-modal-content {
> .fi-modal-content {
position: relative;
}

.fi-modal-footer {
> .fi-modal-footer {
@apply pb-0;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/dist/curator.css

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

0 comments on commit e94f17f

Please sign in to comment.